diff options
Diffstat (limited to 'ftp')
-rw-r--r-- | ftp/gtm/Makefile | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/ftp/gtm/Makefile b/ftp/gtm/Makefile index b5eda4c5e4ac..aa367c6aa85e 100644 --- a/ftp/gtm/Makefile +++ b/ftp/gtm/Makefile @@ -20,6 +20,7 @@ RUN_DEPENDS= wget:${PORTSDIR}/ftp/wget 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" @@ -27,10 +28,10 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ MAN1= gtm.1 gtm_applet.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> |