qsynth: fix the build on powerpc by removing 'atomic' from WANTLIB,

but add it for hppa so it has a chance to build there.

OK sthen@ jca@
This commit is contained in:
cwen 2020-04-29 13:52:14 +00:00
parent 85a4f8bff6
commit 7c4898afbd

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.14 2020/03/27 22:28:35 sebastia Exp $
# $OpenBSD: Makefile,v 1.15 2020/04/29 13:52:14 cwen Exp $
COMMENT = Qt GUI Interface for FluidSynth
@ -18,10 +18,6 @@ MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=qsynth/}
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
@ -38,4 +34,8 @@ 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>