Hi,

qsynth is broken in the current macppc bulk:

> Missing library for atomic>=0.0

qsynth builds fine [0] once atomic is out of WANTLIB, as it is not needed
anymore with clang. While here, i gave the port a chance to be built on
hppa.

OK? 

Charlène.


[0] https://bin.charlenew.xyz/macppc/paths/audio/qsynth.log


Index: Makefile
===================================================================
RCS file: /cvs/ports/audio/qsynth/Makefile,v
retrieving revision 1.14
diff -u -p -u -p -r1.14 Makefile
--- Makefile    27 Mar 2020 22:28:35 -0000      1.14
+++ Makefile    28 Apr 2020 07:45:13 -0000
@@ -18,10 +18,6 @@ MASTER_SITES =               ${MASTER_SITE_SOURCEFORG
 WANTLIB += ${COMPILER_LIBCXX} Qt5Core Qt5Gui Qt5Widgets c
 WANTLIB += m fluidsynth GL Qt5Network curses readline
 
-.if ${MACHINE_ARCH} == "powerpc"
-WANTLIB += atomic
-.endif
-
 MODULES =              x11/qt5
 
 LIB_DEPENDS +=         audio/fluidsynth
@@ -37,5 +33,9 @@ CONFIGURE_STYLE =     gnu
 CONFIGURE_ENV +=       CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include" \
                        LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib 
-L${X11BASE}/lib" \
                        ac_cv_path_ac_qmake="${MODQT_QMAKE}"
+
+.if ${MACHINE_ARCH} == "hppa"
+WANTLIB +=             atomic
+.endif
 
 .include <bsd.port.mk>




Reply via email to