aboutsummaryrefslogtreecommitdiff
path: root/x11/gnomelibs/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'x11/gnomelibs/Makefile')
-rw-r--r--x11/gnomelibs/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/x11/gnomelibs/Makefile b/x11/gnomelibs/Makefile
index 7f67247a395a..565e13bc49bd 100644
--- a/x11/gnomelibs/Makefile
+++ b/x11/gnomelibs/Makefile
@@ -7,7 +7,7 @@
PORTNAME= gnomelibs
PORTVERSION= 1.2.4
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= x11 gnome
MASTER_SITES= ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= stable/sources/gnome-libs
@@ -47,4 +47,8 @@ pre-patch:
's|\$\(datadir\)/gnome/|\$\(datadir\)/|g ; \
s|\$\(datadir\)/locale|\$\(prefix\)/share/locale|g'
+post-patch:
+ @${PERL} -pi -e 's|%%LOCALBASE%%|${LOCALBASE}|g' \
+ ${WRKSRC}/gnome-config.in ${WRKSRC}/libgnome/gnome-util.c
+
.include <bsd.port.mk>