summaryrefslogtreecommitdiff
path: root/news/glitter
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2002-12-02 01:46:26 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2002-12-02 01:46:26 +0000
commit879d568dce4159d12dddf2bc37a045ddee72055e (patch)
treea125901a0c039a02ef404292063387129f03b5f4 /news/glitter
parentFix a typo that could result in ports depending on gtkhtml not to build. (diff)
Fix package building.
Reported by: bento
Notes
Notes: svn path=/head/; revision=71298
Diffstat (limited to 'news/glitter')
-rw-r--r--news/glitter/Makefile8
1 files changed, 3 insertions, 5 deletions
diff --git a/news/glitter/Makefile b/news/glitter/Makefile
index 6e3de6fe921d..a2a205eb3f3a 100644
--- a/news/glitter/Makefile
+++ b/news/glitter/Makefile
@@ -17,16 +17,14 @@ MAINTAINER= greg@gregnet.net
USE_X_PREFIX= yes
USE_GNOMENG= yes
-USE_GNOME= gnomelibs gtk12
+USE_GNOME= gnomeprefix gnomehack gnomelibs gtk12
GNU_CONFIGURE= yes
+USE_REINPLACE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LIBS="-L${LOCALBASE}/lib"
pre-patch:
- @${PERL} -pi -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
+ @${REINPLACE_CMD} -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>