Replace ${PERL} with ${REINPLACE_CMD}. Regards, Olli
add USE_REINPLACE= yes Regards, Olli Index: Makefile =================================================================== RCS file: /home/ncvs/ports/x11/gdkxft/Makefile,v retrieving revision 1.11 diff -u -r1.11 Makefile --- Makefile 2002/05/19 19:56:14 1.11 +++ Makefile 2002/06/19 22:37:58 @@ -18,6 +18,7 @@ USE_X_PREFIX= yes USE_GTK= yes +USE_REINPLACE= yes WANT_GNOME= yes GNU_CONFIGURE= yes CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL} @@ -40,18 +41,18 @@ .endif post-patch: - @${PERL} -pi -e 's|gtk-config --prefix|\$$GTK_CONFIG --prefix|g ; \ + @${REINPLACE_CMD} -e 's|gtk-config --prefix|\$$GTK_CONFIG --prefix|g ; \ s|libgdk.la|libgdk12.so|g ; \ s|libgdk.so|libgdk12.so|g ; \ s|GDK_DLOPEN_NAME=.*$$|GDK_DLOPEN_NAME="libgdk12.so"|g' \ ${WRKSRC}/configure - @find ${WRKSRC} -name "Makefile.in" | xargs ${PERL} -pi -e \ + @find ${WRKSRC} -name "Makefile.in" | xargs ${REINPLACE_CMD} -E -e \ 's|src capplet|src \@BUILD_CAPPLET_TRUE\@capplet|g ; \ s|DESTDIR\)\$$\(datadir|DESTDIR\)\$$\(pkgdatadir|g ; \ s|/gnome/apps/|/apps/|g ; \ s|la_LDFLAGS =.*$$|la_LDFLAGS = -module -avoid-version|g' .for file in gdkxft_sysinstall.in gdkxft.c generate.pl - @${PERL} -pi -e 's|<regex.h>|<gnuregex.h>|g ; \ + @${REINPLACE_CMD} -e 's|<regex.h>|<gnuregex.h>|g ; \ s|gtk-config |${GTK_CONFIG:T} |g' ${WRKSRC}/src/${file} .endfor
State Changed From-To: open->closed Committed, Thanks!