diff options
author | Trevor Johnson <trevor@FreeBSD.org> | 2001-08-29 05:42:33 +0000 |
---|---|---|
committer | Trevor Johnson <trevor@FreeBSD.org> | 2001-08-29 05:42:33 +0000 |
commit | 70fc246f38a0a8da9431ecf2eebe7f32f6d66430 (patch) | |
tree | 8800848623942422ab2639440bfd48bb605de2b0 /audio/spiralloops | |
parent | Fix path for config file to include the config file's name (diff) |
Use PTHREAD_CFLAGS and PTHREAD_LIBS.
Notes
Notes:
svn path=/head/; revision=47063
Diffstat (limited to 'audio/spiralloops')
-rw-r--r-- | audio/spiralloops/Makefile | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/audio/spiralloops/Makefile b/audio/spiralloops/Makefile index 29b9fb4414c9..bb2b60a6f8a2 100644 --- a/audio/spiralloops/Makefile +++ b/audio/spiralloops/Makefile @@ -18,12 +18,19 @@ LIB_DEPENDS= fltk.1:${PORTSDIR}/x11-toolkits/fltk DOCDIR= share/doc/${PORTNAME} DOC_FILES= CHANGES COPYING README GNU_CONFIGURE= yes +MAKE_ENV= PTHREAD_LIBS="${PTHREAD_LIBS}" \ + PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" PLIST= ${WRKDIR}/pkg-plist USE_X_PREFIX= yes WRKSRC= ${WRKDIR}/${DISTNAME} -pre-patch: +post-patch: ${PERL} -pi -e "s:-ldl::g" ${WRKSRC}/Makefile.in + ${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 pre-install: ${ECHO} bin/SpiralLoops > ${PLIST} |