aboutsummaryrefslogtreecommitdiff
path: root/net-im/gnomeicu/Makefile
diff options
context:
space:
mode:
authorAde Lovett <ade@FreeBSD.org>2000-08-04 02:50:51 +0000
committerAde Lovett <ade@FreeBSD.org>2000-08-04 02:50:51 +0000
commit515107ff76455f03d700bcb3fd447702c0fa0536 (patch)
tree55ac807f583170fef1f80d55fed031609d541da4 /net-im/gnomeicu/Makefile
parent0cba6cf60705ef94d7943954f3c56a8c3e7b0cfe (diff)
downloadports-515107ff76455f03d700bcb3fd447702c0fa0536.tar.gz
ports-515107ff76455f03d700bcb3fd447702c0fa0536.zip
Notes
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 11c22886239c..d9b5ddd55771 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>