diff options
| author | Robert Clausecker <fuz@FreeBSD.org> | 2025-09-21 11:32:45 +0200 |
|---|---|---|
| committer | Robert Clausecker <fuz@FreeBSD.org> | 2025-09-28 11:32:13 +0200 |
| commit | 1c8f5f2745bd5e0ecd355c1379dc82af5590bf18 (patch) | |
| tree | 4b5ba54e22a39690ff931b1230d84463202467c8 | |
| parent | 0fda218bb960b1f125e4f8ac0e5c494364c51c3b (diff) | |
devel/libffcall: fix build on armv7
The port gets confused when compiling for ARM with no eabi to be found
in the target string. Add a FreeBSD special case to keep it happy.
Approved by: portmgr (build fix blanket)
MFH: 2025Q3
(cherry picked from commit c3d2880091d08b6860fe9a4431acb17f43391123)
| -rw-r--r-- | devel/libffcall/Makefile | 4 | ||||
| -rw-r--r-- | devel/libffcall/files/patch-configure.ac | 11 |
2 files changed, 12 insertions, 3 deletions
diff --git a/devel/libffcall/Makefile b/devel/libffcall/Makefile index d11b67c036cb..380eb5e89026 100644 --- a/devel/libffcall/Makefile +++ b/devel/libffcall/Makefile @@ -10,9 +10,7 @@ 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 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 |
