diff options
Diffstat (limited to 'editors/ghex2/Makefile')
-rw-r--r-- | editors/ghex2/Makefile | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/editors/ghex2/Makefile b/editors/ghex2/Makefile index faaf6a50149a..c399504f634f 100644 --- a/editors/ghex2/Makefile +++ b/editors/ghex2/Makefile @@ -29,4 +29,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> |