aboutsummaryrefslogtreecommitdiff
path: root/audio/spiralsynthbaby
diff options
context:
space:
mode:
authorTrevor Johnson <trevor@FreeBSD.org>2001-08-29 01:44:46 +0000
committerTrevor Johnson <trevor@FreeBSD.org>2001-08-29 01:44:46 +0000
commit915d7342f4f5a14fe01dc9eb0e2bd98e80bb0823 (patch)
tree4ee685c103fdb2393d47420fd845ce2c4c7ca906 /audio/spiralsynthbaby
parentdc2605dcfd041edb46638ac06d6cc18bea584158 (diff)
downloadports-915d7342f4f5a14fe01dc9eb0e2bd98e80bb0823.tar.gz
ports-915d7342f4f5a14fe01dc9eb0e2bd98e80bb0823.zip
Notes
Diffstat (limited to 'audio/spiralsynthbaby')
-rw-r--r--audio/spiralsynthbaby/Makefile10
1 files changed, 9 insertions, 1 deletions
diff --git a/audio/spiralsynthbaby/Makefile b/audio/spiralsynthbaby/Makefile
index 5e3aced27bb0..031abdb61d29 100644
--- a/audio/spiralsynthbaby/Makefile
+++ b/audio/spiralsynthbaby/Makefile
@@ -16,13 +16,21 @@ MAINTAINER= trevor@FreeBSD.org
LIB_DEPENDS= fltk.1:${PORTSDIR}/x11-toolkits/fltk
USE_X_PREFIX= yes
-
+MAKE_ENV= PTHREAD_LIBS="${PTHREAD_LIBS}" \
+ PTHREAD_CFLAGS="${PTHREAD_CFLAGS}"
GNU_CONFIGURE= yes
WRKSRC= ${WRKDIR}/${DISTNAME}
DOC_FILES= CHANGES COPYING README
+post-patch:
+ ${PERL} -pi -e 's|-O3|${PTHREAD_CFLAGS}|g ; \
+ s|CFLAGS =|CFLAGS +=|g ; \
+ s|CXXFLAGS=|CXXFLAGS+=|g ; \
+ s|-lm|${PTHREAD_LIBS} -lm|g ; \
+ s|/usr/X11R6|${X11BASE}|g' ${WRKSRC}/Makefile.in
+
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/SpiralSynth ${PREFIX}/bin
.if !defined(NOPORTDOCS)