aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexey Dokuchaev <danfe@FreeBSD.org>2021-06-15 04:23:34 +0000
committerAlexey Dokuchaev <danfe@FreeBSD.org>2021-06-15 04:23:48 +0000
commit9041a8ad49dbd033363fac75c02baf9723871af4 (patch)
tree3e1f1b143e6285fd8e3ad5208584398d9b622723
parent34c8d716a30c62b9a71a37b90971e316a491a182 (diff)
downloadports-9041a8ad49dbd033363fac75c02baf9723871af4.tar.gz
ports-9041a8ad49dbd033363fac75c02baf9723871af4.zip
emulators/uae: the port had been improved (+)
- Unbreak the build on modern FreeBSD versions by avoiding injecting duplicate symbols in the object files - Drop MAKE_JOBS_UNSAFE: it was added back in 2013 in the commit 2a5c8652e56c1 to fix the build error: crt1.c:(.text+0xa8): undefined reference to `main' gmake[2]: *** [build68k] Error 1 which no longer manifests itself PR: 256577
-rw-r--r--emulators/uae/Makefile6
1 files changed, 2 insertions, 4 deletions
diff --git a/emulators/uae/Makefile b/emulators/uae/Makefile
index 48f74f099db2..1e8d44473714 100644
--- a/emulators/uae/Makefile
+++ b/emulators/uae/Makefile
@@ -11,11 +11,7 @@ COMMENT= Commodore Amiga emulator
LICENSE= GPLv2
-BROKEN_FreeBSD_13= ld: error: duplicate symbol: socketbases
-BROKEN_FreeBSD_14= ld: error: duplicate symbol: socketbases
-
CONFLICTS= e-uae-[0-9]*
-MAKE_JOBS_UNSAFE=yes
USES= gmake gnome pkgconfig tar:bzip2
GNU_CONFIGURE= yes
@@ -26,6 +22,8 @@ OPTIONS_DEFINE= DOCS
post-patch:
@${REINPLACE_CMD} -e 's|build68kc|build68k|' \
${WRKSRC}/src/Makefile.in
+ @${REINPLACE_CMD} -e 's|struct socketbase {|extern &|' \
+ ${WRKSRC}/src/include/bsdsocket.h
@${LN} -sf ../md-ppc/support.c ${WRKSRC}/src/md-ppc-gcc/support.c
do-install: