diff --git a/graphics/cinepaint/Makefile b/graphics/cinepaint/Makefile index 912c36e61967..1af947b41ed0 100644 --- a/graphics/cinepaint/Makefile +++ b/graphics/cinepaint/Makefile @@ -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 $$|.H>|; /^#include "FL/s|.h"$$|.H"|; \ + s|fl_file_chooser.H|Fl_File_Chooser.H|g; s|#include ||' + .include