1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-19 00:13:33 +00:00

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 2a5c8652e5 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
This commit is contained in:
Alexey Dokuchaev 2021-06-15 04:23:34 +00:00
parent 34c8d716a3
commit 9041a8ad49

View File

@ -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: