aboutsummaryrefslogtreecommitdiff
path: root/deskutils/genius
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2002-06-20 19:04:20 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2002-06-20 19:04:20 +0000
commit471cc5bc1d55d3820d33e0d1cb8243065daea133 (patch)
treeb9d565dd5f45d148d7bd8c012c47b6b32168bf5a /deskutils/genius
parentb51269d2549e868f50a324fc3553ba76f4e48643 (diff)
downloadports-471cc5bc1d55d3820d33e0d1cb8243065daea133.tar.gz
ports-471cc5bc1d55d3820d33e0d1cb8243065daea133.zip
Notes
Diffstat (limited to 'deskutils/genius')
-rw-r--r--deskutils/genius/Makefile9
1 files changed, 5 insertions, 4 deletions
diff --git a/deskutils/genius/Makefile b/deskutils/genius/Makefile
index 386ba89e104d..14ca8c55ea76 100644
--- a/deskutils/genius/Makefile
+++ b/deskutils/genius/Makefile
@@ -12,6 +12,7 @@ MASTER_SITES= http://ftp.5z.com/pub/genius/
MAINTAINER= ports@FreeBSD.org
+USE_REINPLACE= yes
USE_X_PREFIX= yes
USE_GMAKE= yes
USE_GNOME= yes
@@ -20,10 +21,10 @@ 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'
+ @find ${WRKSRC} -name "Makefile.in" | xargs ${REINPLACE_CMD} -e \
+ 's|\$$(datadir)/gnome/|\$$(datadir)/|g ; \
+ s|\$$(datadir)/locale|\$$(prefix)/share/locale|g'
.include <bsd.port.mk>