aboutsummaryrefslogtreecommitdiff
path: root/graphics/cinepaint/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/cinepaint/Makefile')
-rw-r--r--graphics/cinepaint/Makefile12
1 files changed, 5 insertions, 7 deletions
diff --git a/graphics/cinepaint/Makefile b/graphics/cinepaint/Makefile
index 14fa8075f5ab..359f7186bf63 100644
--- a/graphics/cinepaint/Makefile
+++ b/graphics/cinepaint/Makefile
@@ -40,12 +40,6 @@ PLIST_SUB+= OPENEXR:=""
PLIST_SUB+= OPENEXR:="@comment "
.endif
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} >= 502126
-BROKEN= "Does not compile on FreeBSD >= 5.x"
-.endif
-
post-patch:
@${REINPLACE_CMD} -e \
's| -Wall||' \
@@ -55,4 +49,8 @@ post-patch:
's|-LINUX.+$$||' \
${WRKSRC}/Makefile.in
-.include <bsd.port.post.mk>
+ @${REINPLACE_CMD} -e \
+ 's|static GDrawableType|static GImageType|' \
+ ${WRKSRC}/plug-ins/psd/psd.c
+
+.include <bsd.port.mk>