summaryrefslogtreecommitdiffstats
path: root/audio/spiralloops/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'audio/spiralloops/Makefile')
-rw-r--r--audio/spiralloops/Makefile12
1 files changed, 6 insertions, 6 deletions
diff --git a/audio/spiralloops/Makefile b/audio/spiralloops/Makefile
index 4281e4f..7575ee1 100644
--- a/audio/spiralloops/Makefile
+++ b/audio/spiralloops/Makefile
@@ -16,12 +16,6 @@ COMMENT= Loop-based sampler
LIB_DEPENDS= fltk.1:${PORTSDIR}/x11-toolkits/fltk
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} >= 500113
-BROKEN= "Does not compile (bad C++ code)"
-.endif
-
DOCDIR= share/doc/${PORTNAME}
DOC_FILES= CHANGES COPYING README
GNU_CONFIGURE= yes
@@ -31,6 +25,12 @@ PLIST= ${WRKDIR}/pkg-plist
USE_X_PREFIX= yes
WRKSRC= ${WRKDIR}/${DISTNAME}
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 500113
+BROKEN= "Does not compile (bad C++ code)"
+.endif
+
post-patch:
${PERL} -pi -e "s:-ldl::g; s:^CFLAGS:XCFLAGS:g; s:^CXXFLAGS:XCXXFLAGS:g; s:usr/X11R6:${PREFIX}:g" ${WRKSRC}/Makefile.in
${PERL} -pi -e 's|-O3|${PTHREAD_CFLAGS}|g ; \
OpenPOWER on IntegriCloud