diff options
Diffstat (limited to 'misc/gnomeutils/Makefile')
-rw-r--r-- | misc/gnomeutils/Makefile | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/misc/gnomeutils/Makefile b/misc/gnomeutils/Makefile index 57efddb..e87071c 100644 --- a/misc/gnomeutils/Makefile +++ b/misc/gnomeutils/Makefile @@ -16,7 +16,7 @@ MAINTAINER= ade@FreeBSD.org LIB_DEPENDS= panel_applet.4:${PORTSDIR}/x11/gnomecore \ gtop.1:${PORTSDIR}/devel/libgtop \ - guile.6:${PORTSDIR}/lang/guile \ + guile.9:${PORTSDIR}/lang/guile \ glade.4:${PORTSDIR}/devel/libglade RUN_DEPENDS= gnomecc:${PORTSDIR}/sysutils/gnomecontrolcenter @@ -31,4 +31,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 <bsd.port.mk> |