aboutsummaryrefslogtreecommitdiff
path: root/www/galeon
diff options
context:
space:
mode:
authorAde Lovett <ade@FreeBSD.org>2000-08-04 16:11:37 +0000
committerAde Lovett <ade@FreeBSD.org>2000-08-04 16:11:37 +0000
commit972ca4afabe0a706de889d635300401fe596e781 (patch)
tree88208c44ea48fa1c9e3f63bcc27d5f4d229e5dcd /www/galeon
parent0f53421b04b0014eeb8ba37d03d658294ffcc73f (diff)
Notes
Diffstat (limited to 'www/galeon')
-rw-r--r--www/galeon/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/www/galeon/Makefile b/www/galeon/Makefile
index 1421a2922cd8..3ab307e5bfe8 100644
--- a/www/galeon/Makefile
+++ b/www/galeon/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