diff options
author | sobomax <sobomax@FreeBSD.org> | 2002-07-19 01:58:57 +0800 |
---|---|---|
committer | sobomax <sobomax@FreeBSD.org> | 2002-07-19 01:58:57 +0800 |
commit | 091dfe7895aef2457036ad52b4930489b2ad7d80 (patch) | |
tree | ddd64210ee572fd1065aba2066d346b6a1023a85 /x11 | |
parent | ca8d57e8679c5a9614da3dd570e5863684344b10 (diff) | |
download | freebsd-ports-gnome-091dfe7895aef2457036ad52b4930489b2ad7d80.tar.gz freebsd-ports-gnome-091dfe7895aef2457036ad52b4930489b2ad7d80.tar.zst freebsd-ports-gnome-091dfe7895aef2457036ad52b4930489b2ad7d80.zip |
Use USE_REINPLACE.
Diffstat (limited to 'x11')
-rw-r--r-- | x11/gnome-applets/Makefile | 13 | ||||
-rw-r--r-- | x11/gnomeapplets2/Makefile | 13 |
2 files changed, 14 insertions, 12 deletions
diff --git a/x11/gnome-applets/Makefile b/x11/gnome-applets/Makefile index b7cf32a653d5..bf19e645698b 100644 --- a/x11/gnome-applets/Makefile +++ b/x11/gnome-applets/Makefile @@ -22,6 +22,7 @@ LIB_DEPENDS= panel-applet-2.0:${PORTSDIR}/x11/gnomepanel \ USE_BZIP2= yes USE_X_PREFIX= yes USE_GMAKE= yes +USE_REINPLACE= yes USE_LIBTOOL= yes CONFIGURE_ARGS= --localstatedir=${PREFIX}/share/gnome \ --datadir=${PREFIX}/share/gnome @@ -38,13 +39,13 @@ PLIST_SUB= BATTERY="" .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\)/locale|\$\(prefix\)/share/locale|g ; \ - s|\$\(datadir\)/gnome/|\$\(datadir\)/|g ; \ - s|\$\(libdir\)/pkgconfig|\$\(prefix\)/libdata/pkgconfig|g ; \ + @find ${WRKSRC} -name "Makefile.in*" | xargs ${REINPLACE_CMD} -e \ + 's|[(]datadir[)]/locale|(prefix)/share/locale|g ; \ + s|[(]datadir[)]/gnome/|(datadir)/|g ; \ + s|[(]libdir[)]/pkgconfig|(prefix)/libdata/pkgconfig|g ; \ s|\$\(prefix\)/lib/bonobo/servers|\$\(prefix\)/libdata/bonobo/servers|g ; \ - s|\$\(libdir\)/bonobo/servers|\$\(prefix\)/libdata/bonobo/servers|g' + s|[(]libdir[)]/bonobo/servers|(prefix)/libdata/bonobo/servers|g' .include <bsd.port.post.mk> diff --git a/x11/gnomeapplets2/Makefile b/x11/gnomeapplets2/Makefile index b7cf32a653d5..bf19e645698b 100644 --- a/x11/gnomeapplets2/Makefile +++ b/x11/gnomeapplets2/Makefile @@ -22,6 +22,7 @@ LIB_DEPENDS= panel-applet-2.0:${PORTSDIR}/x11/gnomepanel \ USE_BZIP2= yes USE_X_PREFIX= yes USE_GMAKE= yes +USE_REINPLACE= yes USE_LIBTOOL= yes CONFIGURE_ARGS= --localstatedir=${PREFIX}/share/gnome \ --datadir=${PREFIX}/share/gnome @@ -38,13 +39,13 @@ PLIST_SUB= BATTERY="" .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\)/locale|\$\(prefix\)/share/locale|g ; \ - s|\$\(datadir\)/gnome/|\$\(datadir\)/|g ; \ - s|\$\(libdir\)/pkgconfig|\$\(prefix\)/libdata/pkgconfig|g ; \ + @find ${WRKSRC} -name "Makefile.in*" | xargs ${REINPLACE_CMD} -e \ + 's|[(]datadir[)]/locale|(prefix)/share/locale|g ; \ + s|[(]datadir[)]/gnome/|(datadir)/|g ; \ + s|[(]libdir[)]/pkgconfig|(prefix)/libdata/pkgconfig|g ; \ s|\$\(prefix\)/lib/bonobo/servers|\$\(prefix\)/libdata/bonobo/servers|g ; \ - s|\$\(libdir\)/bonobo/servers|\$\(prefix\)/libdata/bonobo/servers|g' + s|[(]libdir[)]/bonobo/servers|(prefix)/libdata/bonobo/servers|g' .include <bsd.port.post.mk> |