aboutsummaryrefslogtreecommitdiff
path: root/multimedia
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2002-10-05 16:56:28 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2002-10-05 16:56:28 +0000
commit5ce8631e75dcca0355bfddb52cd6958f7edd43f0 (patch)
treeb2af6f31a9d9106d7d05ad5d3a8bfcec6bf4bc43 /multimedia
parenta9aa35b83f0efd911760163ed90db07a68b8b1f9 (diff)
downloadports-5ce8631e75dcca0355bfddb52cd6958f7edd43f0.tar.gz
ports-5ce8631e75dcca0355bfddb52cd6958f7edd43f0.zip
Use USE_GNOMENG.
Requested by: James Pole <james.pole@paradise.net.nz>
Notes
Notes: svn path=/head/; revision=67342
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/xmps/Makefile15
1 files changed, 7 insertions, 8 deletions
diff --git a/multimedia/xmps/Makefile b/multimedia/xmps/Makefile
index ffe2e146d95e..40ddca13f062 100644
--- a/multimedia/xmps/Makefile
+++ b/multimedia/xmps/Makefile
@@ -17,7 +17,9 @@ LIB_DEPENDS= SDL-1.1.4:${PORTSDIR}/devel/sdl12
SDL_CONFIG?= ${LOCALBASE}/bin/sdl11-config
USE_X_PREFIX= yes
-USE_GNOME= yes
+USE_GNOMENG= yes
+USE_GNOME= gnomeprefix gnomehack gnomelibs gdkpixbuf
+USE_REINPLACE= yes
INSTALLS_SHLIB= yes
USE_LIBTOOL= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
@@ -25,15 +27,12 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
post-patch:
- @${PERL} -pi -e "s|-lpthread|${PTHREAD_LIBS}|g" ${WRKSRC}/configure
- @find ${WRKSRC} -name "Makefile.in" | xargs ${PERL} -pi -e \
- 's|\$$\(datadir\)/gnome/|\$$\(datadir\)/|g ; \
- s|\$$\(datadir\)/aclocal|\$$\(prefix\)/share/aclocal|g ; \
- s|\$$\(datadir\)/locale|\$$\(prefix\)/share/locale|g ; \
- s|-lpthread|${PTHREAD_LIBS}|g'
+ @${REINPLACE_CMD} -e "s|-lpthread|${PTHREAD_LIBS}|g" ${WRKSRC}/configure
+ @${FIND} ${WRKSRC} -name "Makefile.in" | xargs ${REINPLACE_CMD} -e \
+ 's|-lpthread|${PTHREAD_LIBS}|g'
post-configure:
- @${PERL} -pi -e 's|^deplibs_check_method=.*|deplibs_check_method=pass_all|' \
+ @${REINPLACE_CMD} -e 's|^deplibs_check_method=.*|deplibs_check_method=pass_all|' \
${WRKSRC}/libtool
.include <bsd.port.mk>