aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/xmps
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2002-10-06 00:56:28 +0800
committermarcus <marcus@FreeBSD.org>2002-10-06 00:56:28 +0800
commit9a0f14ff0be216c38ca86028504e96603fd3e0d8 (patch)
tree698bcd9cd0737bd707c9b5c25a0c1f25f16322eb /graphics/xmps
parent94302ab4becf818d81a2c2329fb183cf6390f14d (diff)
downloadfreebsd-ports-graphics-9a0f14ff0be216c38ca86028504e96603fd3e0d8.tar.gz
freebsd-ports-graphics-9a0f14ff0be216c38ca86028504e96603fd3e0d8.tar.zst
freebsd-ports-graphics-9a0f14ff0be216c38ca86028504e96603fd3e0d8.zip
Use USE_GNOMENG.
Requested by: James Pole <james.pole@paradise.net.nz>
Diffstat (limited to 'graphics/xmps')
-rw-r--r--graphics/xmps/Makefile15
1 files changed, 7 insertions, 8 deletions
diff --git a/graphics/xmps/Makefile b/graphics/xmps/Makefile
index ffe2e146d95..40ddca13f06 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>