diff options
author | Oliver Lehmann <oliver@FreeBSD.org> | 2003-08-03 18:55:29 +0000 |
---|---|---|
committer | Oliver Lehmann <oliver@FreeBSD.org> | 2003-08-03 18:55:29 +0000 |
commit | c1136f2f681fc0149ec8eaf0cd9ea4794d0746c1 (patch) | |
tree | eea3d6eeacf1c155ff920350c329428efb04d3d6 /cad/oregano | |
parent | 40c35d281e7d430535a6fd9ef7cbfd7a47957ca9 (diff) | |
download | ports-c1136f2f681fc0149ec8eaf0cd9ea4794d0746c1.tar.gz ports-c1136f2f681fc0149ec8eaf0cd9ea4794d0746c1.zip |
Notes
Diffstat (limited to 'cad/oregano')
-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 a39806febacc..b0eb8eead004 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> |