From 9041a8ad49dbd033363fac75c02baf9723871af4 Mon Sep 17 00:00:00 2001 From: Alexey Dokuchaev <danfe@FreeBSD.org> Date: Tue, 15 Jun 2021 04:23:34 +0000 Subject: [PATCH] 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 --- emulators/uae/Makefile | 6 ++---- 1 file 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: -- GitLab