diff options
author | sobomax <sobomax@FreeBSD.org> | 2002-07-11 23:31:46 +0800 |
---|---|---|
committer | sobomax <sobomax@FreeBSD.org> | 2002-07-11 23:31:46 +0800 |
commit | 56dc32204bad654a33f748f15525ae2478dda76c (patch) | |
tree | 3937ab3f9e452769dfc3da529bc9b040b4183bc3 /editors/glimmer | |
parent | 169df2917434face98111a403e13db5d03f78444 (diff) | |
download | freebsd-ports-gnome-56dc32204bad654a33f748f15525ae2478dda76c.tar.gz freebsd-ports-gnome-56dc32204bad654a33f748f15525ae2478dda76c.tar.zst freebsd-ports-gnome-56dc32204bad654a33f748f15525ae2478dda76c.zip |
Use USE_REINPLACE.
Diffstat (limited to 'editors/glimmer')
-rw-r--r-- | editors/glimmer/Makefile | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/editors/glimmer/Makefile b/editors/glimmer/Makefile index ce8f0a847fe3..c4b7e31ae5f1 100644 --- a/editors/glimmer/Makefile +++ b/editors/glimmer/Makefile @@ -23,6 +23,7 @@ USE_X_PREFIX= yes USE_PYTHON= yes USE_GMAKE= yes USE_GNOME= yes +USE_REINPLACE= yes GNU_CONFIGURE= yes CONFIGURE_ARGS= --enable-regex CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -D_REGEX_H_ -D_REGEX_H" \ @@ -34,11 +35,11 @@ PYTHON_LIBS= -lssl -lcrypto PYTHON_LIBS+= -lutil -lreadline -lcrypt -lpython pre-patch: - @${PERL} -pi -e 's|-lpthread|${PTHREAD_LIBS}|g ; \ + @${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g ; \ s|-lpython|${PYTHON_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> |