aboutsummaryrefslogtreecommitdiff
path: root/x11-toolkits/fpc-gtk1/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'x11-toolkits/fpc-gtk1/Makefile')
-rw-r--r--x11-toolkits/fpc-gtk1/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/x11-toolkits/fpc-gtk1/Makefile b/x11-toolkits/fpc-gtk1/Makefile
index f159156adeaf..8df9c8fa9804 100644
--- a/x11-toolkits/fpc-gtk1/Makefile
+++ b/x11-toolkits/fpc-gtk1/Makefile
@@ -5,6 +5,7 @@
# $FreeBSD$
#
+PORTREVISION= 2
CATEGORIES= x11-toolkits lang
PKGNAMESUFFIX= -gtk
@@ -26,4 +27,9 @@ EXTRACTUNITDIR+= ${WRKUNITDIR}
HAVE_EXAMPLES= true
OPT=-CX -Fu${WRKDIR}/${WRKUNITDIR}/*
+post-patch:
+ @${REINPLACE_CMD} -e 's|gtk12|gtk-12|g' ${WRKDIR}/${WRKUNITDIR}/gtk/gtk.pp
+ @${REINPLACE_CMD} -e 's|glib12|glib-12|g' ${WRKDIR}/${WRKUNITDIR}/glib/glib.pp
+ @${REINPLACE_CMD} -e 's|gdk12|gdk-12|g' ${WRKDIR}/${WRKUNITDIR}/gdk/gdk.pp
+
.include "${MASTERDIR}/Makefile"