From dd860f004fd5b26b39180c9cbe3a1217c50f31a7 Mon Sep 17 00:00:00 2001 From: Martin Wilke Date: Fri, 30 Nov 2007 12:34:06 +0000 Subject: - Fix build with gcc 4.2 Submitted by: David Yeske (maintainer) Approved by: portmgr (pav) --- audio/spiralsynthmodular/Makefile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'audio') diff --git a/audio/spiralsynthmodular/Makefile b/audio/spiralsynthmodular/Makefile index 0f1401ab7e8f..b81c6af8d493 100644 --- a/audio/spiralsynthmodular/Makefile +++ b/audio/spiralsynthmodular/Makefile @@ -21,14 +21,12 @@ BUILD_DEPENDS= ${LOCALBASE}/include/ladspa.h:${PORTSDIR}/audio/ladspa \ LIB_DEPENDS= fltk.1:${PORTSDIR}/x11-toolkits/fltk \ sndfile.1:${PORTSDIR}/audio/libsndfile -BROKEN= fails to find jack plugin - USE_XORG= x11 GNU_CONFIGURE= yes CONFIGURE_ENV= FLTK_CONFIG="${FLTK_CONFIG}" \ CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include" \ - LIBS="${LIBS} -L${LOCALBASE}/lib" + LIBS="${LIBS} -L${LOCALBASE}/lib ${PTHREAD_LIBS}" .if defined(WITH_OPTIMIZED_CFLAGS) CFLAGS+= -O3 -ffast-math @@ -81,6 +79,7 @@ post-patch: @${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -E -e \ 's|-ldl||; \ + s|-lrt||; \ s|^CC[[:space:]]*=.+$$|CC=${CC}|; \ s|^CXX[[:space:]]*=.+$$|CXX=${CXX}|; \ s|g\+\+|${CXX}|; \ -- cgit v1.2.3