summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2007-11-30 12:34:06 +0000
committerMartin Wilke <miwi@FreeBSD.org>2007-11-30 12:34:06 +0000
commitdd860f004fd5b26b39180c9cbe3a1217c50f31a7 (patch)
tree65ca4665d61a8b5bec8f793bbf956ee468725396
parent- Add missing dependencies. (diff)
- Fix build with gcc 4.2
Submitted by: David Yeske <dyeske@gmail.com> (maintainer) Approved by: portmgr (pav)
Notes
Notes: svn path=/head/; revision=202863
-rw-r--r--audio/spiralsynthmodular/Makefile5
1 files changed, 2 insertions, 3 deletions
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}|; \