diff options
Diffstat (limited to 'devel/g2c/Makefile')
-rw-r--r-- | devel/g2c/Makefile | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/devel/g2c/Makefile b/devel/g2c/Makefile index 18162ed8d8c8..9b172ae36c24 100644 --- a/devel/g2c/Makefile +++ b/devel/g2c/Makefile @@ -14,6 +14,7 @@ MASTER_SITE_SUBDIR= ${PORTNAME} MAINTAINER= ports@FreeBSD.org +USE_REINPLACE= yes USE_GTK= yes WANT_GNOME= yes GNU_CONFIGURE= yes @@ -26,10 +27,10 @@ USE_GNOME= yes .endif 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.post.mk> |