summaryrefslogtreecommitdiffstats
path: root/net-im/gnomeicu/Makefile
diff options
context:
space:
mode:
authorade <ade@FreeBSD.org>2000-08-04 02:50:51 +0000
committerade <ade@FreeBSD.org>2000-08-04 02:50:51 +0000
commitaeab4c6031e7c584f9f6ae7af194b7f5e208f98d (patch)
tree74dab5591e47b1ed1257b9b95763a1fa08094ff2 /net-im/gnomeicu/Makefile
parent963654fe18a136f469e31b784c87ce4005f06953 (diff)
downloadFreeBSD-ports-aeab4c6031e7c584f9f6ae7af194b7f5e208f98d.zip
FreeBSD-ports-aeab4c6031e7c584f9f6ae7af194b7f5e208f98d.tar.gz
Another sobomax GNOME victim. I need a decent verb for this.
Approved by: maintainer
Diffstat (limited to 'net-im/gnomeicu/Makefile')
-rw-r--r--net-im/gnomeicu/Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/net-im/gnomeicu/Makefile b/net-im/gnomeicu/Makefile
index 11c2288..d9b5ddd 100644
--- a/net-im/gnomeicu/Makefile
+++ b/net-im/gnomeicu/Makefile
@@ -28,4 +28,11 @@ CONFIGURE_ENV= GTK_CONFIG="${GTK_CONFIG}" \
LIBS="-L${LOCALBASE}/lib"
CONFIGURE_ARGS= --datadir=${PREFIX}/share/gnome
+post-extract:
+ @${PERL} -pi -e 's|-lpthread|-pthread|g ; \
+ s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure
+ @find ${WRKSRC} -name "Makefile.in" | xargs ${PERL} -pi -e \
+ 's|\$\(datadir\)/gnome/|\$\(datadir\)/|g ; \
+ s|\$\(datadir\)/locale|\$\(prefix\)/share/locale|g'
+
.include <bsd.port.mk>
OpenPOWER on IntegriCloud