From e328c1d81528c517d53325f844db69bfdc32707e Mon Sep 17 00:00:00 2001 From: Edwin Groothuis Date: Tue, 5 Nov 2002 12:29:34 +0000 Subject: port graphics/giram didn't patch properly. Noticed by: bento --- graphics/giram/Makefile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'graphics/giram') 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 -- cgit v1.2.3