1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-30 05:40:06 +00:00

- Unbreak - fix build with latest x11-toolkits/fltk

Feature safe:	yes
This commit is contained in:
Pietro Cerutti 2011-11-15 14:59:16 +00:00
parent b1a33955c6
commit 16cdbc2f21
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=285852

View File

@ -17,8 +17,6 @@ COMMENT= Loop-based sampler
LIB_DEPENDS= fltk.1:${PORTSDIR}/x11-toolkits/fltk
BROKEN= does not compile
DOCDIR= share/doc/${PORTNAME}
DOC_FILES= CHANGES COPYING README
GNU_CONFIGURE= yes
@ -41,6 +39,10 @@ post-patch:
s:/usr/X11R6:${LOCALBASE}:g" \
< ${WRKSRC}/Makefile.in.orig > ${WRKSRC}/Makefile.in
@${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'
pre-install:
${ECHO_CMD} bin/SpiralLoops > ${PLIST}
.if !defined(NOPORTDOCS)