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-im | |
parent | 0cba6cf60705ef94d7943954f3c56a8c3e7b0cfe (diff) | |
download | ports-515107ff76455f03d700bcb3fd447702c0fa0536.tar.gz ports-515107ff76455f03d700bcb3fd447702c0fa0536.zip |
Another sobomax GNOME victim. I need a decent verb for this.
Approved by: maintainer
Notes
Notes:
svn path=/head/; revision=31300
Diffstat (limited to 'net-im')
-rw-r--r-- | net-im/gnomeicu/Makefile | 7 | ||||
-rw-r--r-- | net-im/gnomeicu2/Makefile | 7 |
2 files changed, 14 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> diff --git a/net-im/gnomeicu2/Makefile b/net-im/gnomeicu2/Makefile index 11c22886239c..d9b5ddd55771 100644 --- a/net-im/gnomeicu2/Makefile +++ b/net-im/gnomeicu2/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> |