diff options
Diffstat (limited to 'editors/ghex2')
-rw-r--r-- | editors/ghex2/Makefile | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/editors/ghex2/Makefile b/editors/ghex2/Makefile index bb462294fba8..69c0f7024651 100644 --- a/editors/ghex2/Makefile +++ b/editors/ghex2/Makefile @@ -15,16 +15,14 @@ MAINTAINER= gnome@FreeBSD.org USE_X_PREFIX= yes USE_GMAKE= yes -USE_GNOME= yes +USE_GNOMENG= yes +USE_GNOME= gnomeprefix gnomehack gnomelibs gnomeprint USE_LIBTOOL= yes CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ LIBS="-L${LOCALBASE}/lib" -pre-patch: +post-patch: @${PERL} -pi -e 's|-lpthread|${PTHREAD_LIBS}|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> |