summaryrefslogtreecommitdiff
path: root/graphics/gcolor
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2002-07-08 10:41:30 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2002-07-08 10:41:30 +0000
commit2730c8a3dcd82845271c9dbb832f982bbacff7ab (patch)
tree1642e533cdc6183365ccba20544974f74946044a /graphics/gcolor
parentFix the condition in the userforward director that is intended to (diff)
PERL -> REINPLACE_CMD
PR: 39938 Submitted by: Oliver Braun <obraun@informatik.unibw-muenchen.de>
Notes
Notes: svn path=/head/; revision=62647
Diffstat (limited to 'graphics/gcolor')
-rw-r--r--graphics/gcolor/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/graphics/gcolor/Makefile b/graphics/gcolor/Makefile
index f1a52fe1e9b7..820cb7678544 100644
--- a/graphics/gcolor/Makefile
+++ b/graphics/gcolor/Makefile
@@ -13,6 +13,7 @@ MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= ports@FreeBSD.org
+USE_REINPLACE= yes
USE_X_PREFIX= yes
USE_GTK= yes
GNU_CONFIGURE= yes
@@ -20,7 +21,7 @@ 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
.include <bsd.port.mk>