diff options
author | David W. Chapman Jr. <dwcjr@FreeBSD.org> | 2002-09-01 16:07:59 +0000 |
---|---|---|
committer | David W. Chapman Jr. <dwcjr@FreeBSD.org> | 2002-09-01 16:07:59 +0000 |
commit | 534fffca27bb18f7529d548c46ee3326505a89c7 (patch) | |
tree | a09ac440edd299d85a3517dea62caa2b115543fc /print/gfontview | |
parent | 5bc499ce47fa1a8da853b36cc61cddf06075d203 (diff) | |
download | ports-534fffca27bb18f7529d548c46ee3326505a89c7.tar.gz ports-534fffca27bb18f7529d548c46ee3326505a89c7.zip |
${PERL} -> ${REINPLACE_CMD}
PR: 40784
Submitted by: corecode@corecode.ath.cx
Reviewed by: flynn@energyhq.homeip.net
Notes
Notes:
svn path=/head/; revision=65426
Diffstat (limited to 'print/gfontview')
-rw-r--r-- | print/gfontview/Makefile | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/print/gfontview/Makefile b/print/gfontview/Makefile index bb99f98d0bdb..32e94122fbb4 100644 --- a/print/gfontview/Makefile +++ b/print/gfontview/Makefile @@ -18,6 +18,7 @@ MAINTAINER= ports@FreeBSD.org LIB_DEPENDS= t1.4:${PORTSDIR}/devel/t1lib USE_X_PREFIX= yes +USE_REINPLACE= yes USE_GNOME= yes USE_FREETYPE= yes GNU_CONFIGURE= yes @@ -29,13 +30,13 @@ CONFIGURE_ARGS= --with-fontdir="${LOCALBASE}/share/ghostscript/fonts" \ --with-libungif post-patch: - @${PERL} -pi -e 's|CXXFLAGS="-O2"|CXXFLAGS="\$$CXXFLAGS"|g ; \ + @${REINPLACE_CMD} -e 's|CXXFLAGS="-O2"|CXXFLAGS="$$CXXFLAGS"|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' \ + s|\$$(top_builddir)/intl/libintl.a|-lintl|g' \ ${WRKSRC}/configure - @${PERL} -pi -e 's|\$$\(datadir\)/gnome/|\$$\(datadir\)/|g ; \ - s|\$$\(datadir\)/locale|\$$\(prefix\)/share/locale|g ; \ + @${REINPLACE_CMD} -e 's|\$$(datadir)/gnome/|$$(datadir)/|g ; \ + s|\$$(datadir)/locale|$$(prefix)/share/locale|g ; \ s|-I/usr/include/freetype||g' \ ${WRKSRC}/Makefile.in |