diff options
author | gahr <gahr@FreeBSD.org> | 2011-11-15 22:53:26 +0800 |
---|---|---|
committer | gahr <gahr@FreeBSD.org> | 2011-11-15 22:53:26 +0800 |
commit | 97a80265bf53992c1d31a53a2053d872fc36ce32 (patch) | |
tree | 5caae216861fc73343879d86719b036d3995aa4d /audio/spiralsynthmodular | |
parent | 969f4aee4498659b71379fb5a411d54c3b321ad2 (diff) | |
download | freebsd-ports-gnome-97a80265bf53992c1d31a53a2053d872fc36ce32.tar.gz freebsd-ports-gnome-97a80265bf53992c1d31a53a2053d872fc36ce32.tar.zst freebsd-ports-gnome-97a80265bf53992c1d31a53a2053d872fc36ce32.zip |
- Unbreak - fix build with latest x11-toolkits/fltk
Feature safe: yes
Diffstat (limited to 'audio/spiralsynthmodular')
-rw-r--r-- | audio/spiralsynthmodular/Makefile | 6 |
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> |