diff options
Diffstat (limited to 'editors/ghex/Makefile')
-rw-r--r-- | editors/ghex/Makefile | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/editors/ghex/Makefile b/editors/ghex/Makefile index faaf6a5..c399504 100644 --- a/editors/ghex/Makefile +++ b/editors/ghex/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> |