Files
kettenis aa2e318b22 Add a few ENDBR64 instructions in the basic interfaces. I left the
trampoline code untouched since it already violates X-only and W^X.  That
code has no future on OpenBSD.  Hopefully this is enough to fix the
users of this code in ports: lang/clisp and lang/gforth.

ok deraadt@
2024-02-23 17:24:29 +00:00

31 lines
708 B
Makefile

# arm: doesn't build super-old and broken assember files
ONLY_FOR_ARCHS= alpha amd64 hppa i386 mips64 mips64el powerpc sparc64
COMMENT= foreign function call libraries
DISTNAME= ffcall-1.10
REVISION = 6
SHARED_LIBS= avcall 1.0 \
callback 1.0
CATEGORIES= devel
SITES= http://www.haible.de/bruno/gnu/
HOMEPAGE= http://www.haible.de/bruno/packages-ffcall.html
# GPLv2 only
PERMIT_PACKAGE= Yes
WANTLIB= c
CONFIGURE_STYLE=gnu
MODGNU_CONFIG_GUESS_DIRS=${WRKSRC}/autoconf
.if ${MACHINE_ARCH} == "sparc64"
CONFIGURE_ENV += cl_cv_c_struct_return_small=yes
.endif
FAKE_FLAGS= htmldir="\$$(datadir)/doc/ffcall/html"
pre-install:
@${INSTALL_DATA_DIR} ${PREFIX}/share/doc/ffcall/html
.include <bsd.port.mk>