1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-20 00:21:35 +00:00

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

Feature safe:	yes
This commit is contained in:
Pietro Cerutti 2011-11-15 16:35:43 +00:00
parent 460bc54c09
commit 30e7ce895a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=285861

View File

@ -29,8 +29,6 @@ USE_GETTEXT= yes
USE_LDCONFIG= yes
USE_XORG= xpm
BROKEN= does not compile
MAN1= cinepaint.1 cinepainttool.1
PLIST_SUB= VER=${PORTVERSION}-1
@ -69,4 +67,8 @@ post-patch:
's|static GDrawableType|static GImageType|' \
${WRKSRC}/plug-ins/psd/psd.c
@${FIND} ${WRKSRC} -type f -name "*.c" -o -name "*.cpp" -o -name "*.cxx" -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; s|#include <Fl|#include <FL|g; s|<FL/gl.H>|<FL/gl.h>|'
.include <bsd.port.post.mk>