Re: [macppc] audio/cmus, net/isc-dhcp: don't need -latomic anymore

2020-04-06 Thread Jeremie Courreges-Anglas
On Mon, Apr 06 2020, Charlene Wendling  wrote:
> Hi,
>
> Since powerpc switched to clang, `-latomic' and the 'atomic' WANTLIB
> are not needed anymore on this arch, and actually break the build.
>
> The following ports have no maintainers, so here is a diff for them
> that disables that switch on powerpc. For maintained ports, i'm sending
> diff to maintainers as soon as it's built.
>
> REVISION bump is not needed since we don't have yet provided packages
> with '_SYSTEM_VERSION-powerpc=1'
>
> Here are the logs for audio/cmus [0] and net/isc-dhcp [1].
>
> OK? 

ok

-- 
jca | PGP : 0x1524E7EE / 5135 92C1 AD36 5293 2BDF  DDCC 0DFA 74AE 1524 E7EE



Re: [macppc] audio/cmus, net/isc-dhcp: don't need -latomic anymore

2020-04-06 Thread Daniel Jakots
On Mon, 6 Apr 2020 22:18:40 +0200, Charlene Wendling
 wrote:

> OK? 

ok danj@



[macppc] audio/cmus, net/isc-dhcp: don't need -latomic anymore

2020-04-06 Thread Charlene Wendling
Hi,

Since powerpc switched to clang, `-latomic' and the 'atomic' WANTLIB
are not needed anymore on this arch, and actually break the build.

The following ports have no maintainers, so here is a diff for them
that disables that switch on powerpc. For maintained ports, i'm sending
diff to maintainers as soon as it's built.

REVISION bump is not needed since we don't have yet provided packages
with '_SYSTEM_VERSION-powerpc=1'

Here are the logs for audio/cmus [0] and net/isc-dhcp [1].

OK? 

Charlène.


[0] https://bin.charlenew.xyz/macppc/paths/audio/cmus.log
[1] https://bin.charlenew.xyz/macppc/paths/net/isc-dhcp.log


Index: audio/cmus/Makefile
===
RCS file: /cvs/ports/audio/cmus/Makefile,v
retrieving revision 1.24
diff -u -p -r1.24 Makefile
--- audio/cmus/Makefile 14 Feb 2020 11:11:32 -  1.24
+++ audio/cmus/Makefile 6 Apr 2020 14:25:48 -
@@ -76,7 +76,7 @@ CONFIGURE_ARGS=   prefix=${PREFIX} \
 NO_TEST=   Yes
 
 #  undefined reference to `__atomic_fetch_add_8'
-.if ${MACHINE_ARCH} == "powerpc" || ${MACHINE_ARCH} == "hppa"
+.if ${MACHINE_ARCH} == "hppa"
 WANTLIB-main += atomic
 WANTLIB-ffmpeg += atomic
 LDFLAGS += -latomic
Index: net/isc-dhcp/Makefile
===
RCS file: /cvs/ports/net/isc-dhcp/Makefile,v
retrieving revision 1.56
diff -u -p -r1.56 Makefile
--- net/isc-dhcp/Makefile   12 Feb 2020 13:59:48 -  1.56
+++ net/isc-dhcp/Makefile   6 Apr 2020 14:25:48 -
@@ -43,7 +43,7 @@ EXAMPLEDIR=   share/examples/isc-dhcp
 MAKE_ENV +=CC='${CC}'
 
 # Fix "undefined reference to `__atomic_store_8'"
-.if ${MACHINE_ARCH:Mpowerpc} || ${MACHINE_ARCH:Mhppa}
+.if ${MACHINE_ARCH:Mhppa}
 WANTLIB += atomic
 LIB_DEPENDS += lang/gcc/${MODGCC4_VERSION},-libs
 MAKE_FLAGS +=  LDFLAGS="${LDFLAGS} -latomic"