diff options
Diffstat (limited to 'sysutils/gfslicer')
-rw-r--r-- | sysutils/gfslicer/Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sysutils/gfslicer/Makefile b/sysutils/gfslicer/Makefile index 7265bcc44e4..da1cafd06d5 100644 --- a/sysutils/gfslicer/Makefile +++ b/sysutils/gfslicer/Makefile @@ -15,6 +15,7 @@ MAINTAINER= ports@FreeBSD.org BUILD_DEPENDS= ${LOCALBASE}/share/automake14/automake/install-sh:${PORTSDIR}/devel/automake14 +USE_REINPLACE= yes USE_X_PREFIX= yes USE_GNOME= yes USE_GMAKE= yes @@ -30,11 +31,11 @@ post-extract: @${RM} -f ${WRKSRC}/config.cache post-patch: - @${PERL} -pi -e 's|-lpthread|${PTHREAD_LIBS}|g ; \ + @${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|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 - @${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${PERL} -pi -e \ + @${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \ 's|\$$\(datadir\)/gnome/|\$$\(datadir\)/|g ; \ s|\$$\(datadir\)/locale|\$$\(prefix\)/share/locale|g' |