From aeab4c6031e7c584f9f6ae7af194b7f5e208f98d Mon Sep 17 00:00:00 2001 From: ade Date: Fri, 4 Aug 2000 02:50:51 +0000 Subject: Another sobomax GNOME victim. I need a decent verb for this. Approved by: maintainer --- net-im/gnomeicu2/Makefile | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'net-im/gnomeicu2/Makefile') 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 -- cgit