diff options
author | oliver <oliver@FreeBSD.org> | 2003-08-03 18:55:29 +0000 |
---|---|---|
committer | oliver <oliver@FreeBSD.org> | 2003-08-03 18:55:29 +0000 |
commit | e6a37c57fdfc0d21f5d1e6a61c13eaafc75233f4 (patch) | |
tree | af569132ef95cbc9b9a6dd13b8525604f58595ce /cad | |
parent | 86367c6120aa2a3aaff1e90bde483e1148c1de22 (diff) | |
download | FreeBSD-ports-e6a37c57fdfc0d21f5d1e6a61c13eaafc75233f4.zip FreeBSD-ports-e6a37c57fdfc0d21f5d1e6a61c13eaafc75233f4.tar.gz |
replace PERL -pi by REINPLACE_CMD
PR: 47653
Submitted by: Simon Schubert <corecode@corecode.ath.cx>
Approved by: maintainer
Diffstat (limited to 'cad')
-rw-r--r-- | cad/oregano/Makefile | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/cad/oregano/Makefile b/cad/oregano/Makefile index a39806f..b0eb8ee 100644 --- a/cad/oregano/Makefile +++ b/cad/oregano/Makefile @@ -16,15 +16,16 @@ COMMENT= Schematic capture and simulation of electrical circuits USE_GMAKE= yes USE_X_PREFIX= yes USE_GNOME= yes +USE_REINPLACE= yes GNU_CONFIGURE= yes CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ LIBS="-L${LOCALBASE}/lib" pre-patch: - @${PERL} -pi -e 's|-lpthread|${PTHREAD_LIBS}|g ; \ + @${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g ; \ s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure - @find ${WRKSRC} -name "Makefile.in*" | xargs ${PERL} -pi -e \ - 's|\$\(datadir\)/gnome/|\$\(datadir\)/|g ; \ - s|\$\(datadir\)/locale|\$\(prefix\)/share/locale|g' + @${FIND} ${WRKSRC} -name "Makefile.in*" | ${XARGS} ${REINPLACE_CMD} -e \ + 's|\(\$$(datadir)/\)gnome/|\1|g ; \ + s|\$$(datadir)/locale|$$(prefix)/share/locale|g' .include <bsd.port.mk> |