From f710791a75a1a897078bc67c9d8d237aa98f6e36 Mon Sep 17 00:00:00 2001 From: ade Date: Fri, 4 Aug 2000 01:19:21 +0000 Subject: Extensive patchfile cleanups using sobomax's wonderful post-extract rule --- sysutils/gnomesystemmonitor/Makefile | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'sysutils/gnomesystemmonitor') diff --git a/sysutils/gnomesystemmonitor/Makefile b/sysutils/gnomesystemmonitor/Makefile index c79252288cf2..6225412c3704 100644 --- a/sysutils/gnomesystemmonitor/Makefile +++ b/sysutils/gnomesystemmonitor/Makefile @@ -26,4 +26,11 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ GTK_CONFIG="${GTK_CONFIG}" \ LIBS="-L${LOCALBASE}/lib" +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