aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2002-11-05 12:29:34 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2002-11-05 12:29:34 +0000
commite328c1d81528c517d53325f844db69bfdc32707e (patch)
tree280f8dd408c962f52215970969eff96e4c6c9322
parent81330903a5f06ce487f4a99c743439f84fd87253 (diff)
downloadports-e328c1d81528c517d53325f844db69bfdc32707e.tar.gz
ports-e328c1d81528c517d53325f844db69bfdc32707e.zip
Notes
-rw-r--r--graphics/giram/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/graphics/giram/Makefile b/graphics/giram/Makefile
index fcfc3ddf2c0d..02750dbd81eb 100644
--- a/graphics/giram/Makefile
+++ b/graphics/giram/Makefile
@@ -17,6 +17,7 @@ RUN_DEPENDS= povray:${PORTSDIR}/graphics/povray31
USE_BZIP2= yes
USE_X_PREFIX= yes
+USE_REINPLACE= yes
USE_MESA= yes
USE_GMAKE= yes
USE_GNOMENG= yes
@@ -37,10 +38,12 @@ CONFIGURE_ARGS+=--disable-gnome
.endif
pre-patch:
- @${PERL} -pi -e 's|-lpthread|${PTHREAD_LIBS:S/"//g}|g ; \
+ @${REINPLACE_CMD} -e \
+ 's|-lpthread|${PTHREAD_LIBS:S/"//g}|g ; \
s|DATADIRNAME=lib|DATADIRNAME=share|g ; \
s|USE_INCLUDED_LIBINTL=yes|#USE_INCLUDED_LIBINTL=yes|g ; \
- s|\$$\(top_builddir\)/intl/libintl.a|-lintl|g' ${WRKSRC}/configure
+ s|\$$(top_builddir)/intl/libintl.a|-lintl|g' \
+ ${WRKSRC}/configure
post-install:
@${MKDIR} ${PREFIX}/share/doc/giram/SampleScenes