summaryrefslogtreecommitdiff
path: root/audio/spiralsynthmodular
diff options
context:
space:
mode:
authorPietro Cerutti <gahr@FreeBSD.org>2011-11-15 14:53:26 +0000
committerPietro Cerutti <gahr@FreeBSD.org>2011-11-15 14:53:26 +0000
commitb1a33955c672ba2df455394f278e5b57af0238e3 (patch)
treed532379514569ee5dc41c2decf21cb59329855ee /audio/spiralsynthmodular
parent- Update to 5.0.1 (diff)
- Unbreak - fix build with latest x11-toolkits/fltk
Feature safe: yes
Notes
Notes: svn path=/head/; revision=285851
Diffstat (limited to 'audio/spiralsynthmodular')
-rw-r--r--audio/spiralsynthmodular/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/audio/spiralsynthmodular/Makefile b/audio/spiralsynthmodular/Makefile
index f4b0f6ec7406..4a32bbc48004 100644
--- a/audio/spiralsynthmodular/Makefile
+++ b/audio/spiralsynthmodular/Makefile
@@ -20,8 +20,6 @@ BUILD_DEPENDS= ${LOCALBASE}/include/ladspa.h:${PORTSDIR}/audio/ladspa \
LIB_DEPENDS= fltk.1:${PORTSDIR}/x11-toolkits/fltk \
sndfile.1:${PORTSDIR}/audio/libsndfile
-BROKEN= does not compile
-
USE_XORG= x11
GNU_CONFIGURE= yes
@@ -87,4 +85,8 @@ post-patch:
s,@FLTK_(C|CXX)FLAGS@,-I${LOCALBASE}/include,; \
s|-lpthread|${PTHREAD_LIBS}|g'
+ @${FIND} ${WRKSRC} -type f -name "*.C" -o -name "*.cpp" -o -name "*.h" | ${XARGS} \
+ ${REINPLACE_CMD} -e '/^#include <FL/s|.h>$$|.H>|; /^#include "FL/s|.h"$$|.H"|; \
+ s|fl_file_chooser.H|Fl_File_Chooser.H|g'
+
.include <bsd.port.post.mk>