diff options
Diffstat (limited to 'www/galeon2/Makefile')
-rw-r--r-- | www/galeon2/Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/www/galeon2/Makefile b/www/galeon2/Makefile index 1421a2922cd8..3ab307e5bfe8 100644 --- a/www/galeon2/Makefile +++ b/www/galeon2/Makefile @@ -36,13 +36,15 @@ CONFIGURE_ENV= GLIB_CONFIG="${GLIB_CONFIG}" \ CPPFLAGS="-I${LOCALBASE}/include" \ LDFLAGS="-L${LOCALBASE}/lib" -post-patch: +pre-patch: @${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 ; \ s|-lpthread|-pthread|g' + +post-patch: @${PERL} -pi -e 's|%%PREFIX%%|${PREFIX}|g ; \ s|%%LOCALBASE%%|${LOCALBASE}|g ; \ s|%%X11BASE%%|${X11BASE}|g' ${WRKSRC}/src/galeon |