aboutsummaryrefslogtreecommitdiff
path: root/net/gnomeicu
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/gnomeicu
parent0cba6cf60705ef94d7943954f3c56a8c3e7b0cfe (diff)
downloadports-515107ff76455f03d700bcb3fd447702c0fa0536.tar.gz
ports-515107ff76455f03d700bcb3fd447702c0fa0536.zip
Notes
Diffstat (limited to 'net/gnomeicu')
-rw-r--r--net/gnomeicu/Makefile7
-rw-r--r--net/gnomeicu/gnomeicu/Makefile7
2 files changed, 14 insertions, 0 deletions
diff --git a/net/gnomeicu/Makefile b/net/gnomeicu/Makefile
index 11c22886239c..d9b5ddd55771 100644
--- a/net/gnomeicu/Makefile
+++ b/net/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>
diff --git a/net/gnomeicu/gnomeicu/Makefile b/net/gnomeicu/gnomeicu/Makefile
index 11c22886239c..d9b5ddd55771 100644
--- a/net/gnomeicu/gnomeicu/Makefile
+++ b/net/gnomeicu/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>