summaryrefslogtreecommitdiffstats
path: root/editors/gedit
diff options
context:
space:
mode:
authorsobomax <sobomax@FreeBSD.org>2002-07-11 15:31:46 +0000
committersobomax <sobomax@FreeBSD.org>2002-07-11 15:31:46 +0000
commit56dc32204bad654a33f748f15525ae2478dda76c (patch)
tree3937ab3f9e452769dfc3da529bc9b040b4183bc3 /editors/gedit
parent169df2917434face98111a403e13db5d03f78444 (diff)
downloadFreeBSD-ports-56dc32204bad654a33f748f15525ae2478dda76c.zip
FreeBSD-ports-56dc32204bad654a33f748f15525ae2478dda76c.tar.gz
Use USE_REINPLACE.
Diffstat (limited to 'editors/gedit')
-rw-r--r--editors/gedit/Makefile9
1 files changed, 5 insertions, 4 deletions
diff --git a/editors/gedit/Makefile b/editors/gedit/Makefile
index 9ff2a61..8b24aa3 100644
--- a/editors/gedit/Makefile
+++ b/editors/gedit/Makefile
@@ -19,6 +19,7 @@ BUILD_DEPENDS= msgfmt-old:${PORTSDIR}/devel/gettext-old
USE_X_PREFIX= yes
USE_GMAKE= yes
USE_GNOME= yes
+USE_REINPLACE= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LIBS="-L${LOCALBASE}/lib" \
@@ -28,10 +29,10 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
MAN1= gedit.1
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/|(datadir)/|g ; \
+ s|[(]datadir[)]/locale|(prefix)/share/locale|g'
.include <bsd.port.mk>
OpenPOWER on IntegriCloud