summaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2002-10-05 16:56:28 +0000
committermarcus <marcus@FreeBSD.org>2002-10-05 16:56:28 +0000
commit9a0f14ff0be216c38ca86028504e96603fd3e0d8 (patch)
tree698bcd9cd0737bd707c9b5c25a0c1f25f16322eb /graphics
parent94302ab4becf818d81a2c2329fb183cf6390f14d (diff)
downloadFreeBSD-ports-9a0f14ff0be216c38ca86028504e96603fd3e0d8.zip
FreeBSD-ports-9a0f14ff0be216c38ca86028504e96603fd3e0d8.tar.gz
Use USE_GNOMENG.
Requested by: James Pole <james.pole@paradise.net.nz>
Diffstat (limited to 'graphics')
-rw-r--r--graphics/xmps/Makefile15
1 files changed, 7 insertions, 8 deletions
diff --git a/graphics/xmps/Makefile b/graphics/xmps/Makefile
index ffe2e14..40ddca1 100644
--- a/graphics/xmps/Makefile
+++ b/graphics/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>
OpenPOWER on IntegriCloud