Hi, I've found out that isc-dhcp build is broken in the current macppc bulk:
> stats.c:(.text+0x80c): undefined reference to `__atomic_store_8' (and more) With the below diff, it builds fine on macppc [0]. REVISION bump is not needed, this new version never built on macppc. Also, it's needed to pull gcc-libs explicitly because COMPILER_LANGS=c is set, and setting LDFLAGS via MAKE_ENV does not work. Comments/feedback are welcome :) Charlène. [0] https://bin.charlenew.xyz/isc-dhcp.log Index: Makefile =================================================================== RCS file: /cvs/ports/net/isc-dhcp/Makefile,v retrieving revision 1.55 diff -u -p -u -p -r1.55 Makefile --- Makefile 24 Jan 2020 10:55:44 -0000 1.55 +++ Makefile 12 Feb 2020 11:09:22 -0000 @@ -42,6 +42,13 @@ EXAMPLEDIR= share/examples/isc-dhcp MAKE_ENV += CC='${CC}' +# Fix "undefined reference to `__atomic_store_8'" +.if ${MACHINE_ARCH:Mpowerpc} || ${MACHINE_ARCH:Mhppa} +WANTLIB += atomic +LIB_DEPENDS += lang/gcc/${MODGCC4_VERSION},-libs +MAKE_FLAGS += LDFLAGS="${LDFLAGS} -latomic" +.endif + # because we may want to patch bind, you know post-extract: cd ${WRKDIST}/bind && tar zxf bind.tar.gz