diff --git a/devel/libffcall/Makefile b/devel/libffcall/Makefile index d11b67c036cb..380eb5e89026 100644 --- a/devel/libffcall/Makefile +++ b/devel/libffcall/Makefile @@ -1,31 +1,29 @@ PORTNAME= libffcall DISTVERSION= 2.5 CATEGORIES= devel MASTER_SITES= GNU MAINTAINER= ndowens04@gmail.com COMMENT= Foreign function call libraries WWW= https://www.gnu.org/software/libffcall/ LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING -BROKEN_armv7= no rule to make target 'avcall-armhf-old.lo', needed by 'avcall.lo' - -USES= gmake libtool +USES= autoreconf gmake libtool USE_LDCONFIG= yes GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX=${PREFIX}/share CONFIGURE_ARGS= --enable-shared CONFIGURE_TARGET= ${ARCH:S/amd64/x86_64/}-portbld-${OPSYS:tl}${OSREL} MAKE_JOBS_UNSAFE= yes TEST_TARGET= check CFLAGS+= -fPIC post-install: @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libavcall.so \ ${STAGEDIR}${PREFIX}/lib/libcallback.so \ ${STAGEDIR}${PREFIX}/lib/libtrampoline.so .include diff --git a/devel/libffcall/files/patch-configure.ac b/devel/libffcall/files/patch-configure.ac new file mode 100644 index 000000000000..53f6ce11b752 --- /dev/null +++ b/devel/libffcall/files/patch-configure.ac @@ -0,0 +1,11 @@ +--- configure.ac.orig 2025-09-21 09:30:04 UTC ++++ configure.ac +@@ -108,7 +108,7 @@ if test ${HOST_CPU_C_ABI} = arm -o ${HOST_CPU_C_ABI} = + dnl comes with clang 10 (which doesn't grok old "divided" syntax) and with + dnl an old GNU as (which doesn't grok the '.fpu vfpv3-d16' pseudo-op). + case "$host_os" in +- *eabi*) HOST_CPU_C_ABI="${HOST_CPU_C_ABI}-eabi" ;; ++ *eabi*|*freebsd*) HOST_CPU_C_ABI="${HOST_CPU_C_ABI}-eabi" ;; + *) HOST_CPU_C_ABI="${HOST_CPU_C_ABI}-old" ;; + esac + fi