diff options
author | Ade Lovett <ade@FreeBSD.org> | 2000-08-04 02:50:51 +0000 |
---|---|---|
committer | Ade Lovett <ade@FreeBSD.org> | 2000-08-04 02:50:51 +0000 |
commit | 515107ff76455f03d700bcb3fd447702c0fa0536 (patch) | |
tree | 55ac807f583170fef1f80d55fed031609d541da4 /net/gnomeicu | |
parent | 0cba6cf60705ef94d7943954f3c56a8c3e7b0cfe (diff) | |
download | ports-515107ff76455f03d700bcb3fd447702c0fa0536.tar.gz ports-515107ff76455f03d700bcb3fd447702c0fa0536.zip |
Notes
Diffstat (limited to 'net/gnomeicu')
-rw-r--r-- | net/gnomeicu/Makefile | 7 | ||||
-rw-r--r-- | net/gnomeicu/gnomeicu/Makefile | 7 |
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> |