diff options
author | sobomax <sobomax@FreeBSD.org> | 2002-07-18 16:05:23 +0000 |
---|---|---|
committer | sobomax <sobomax@FreeBSD.org> | 2002-07-18 16:05:23 +0000 |
commit | 3c3ec35cdac5b00ee09be0891fa8cdd0f2c42e1a (patch) | |
tree | f17b7894423790cd63911d7fab61dd24d4952643 /x11-wm | |
parent | e3c2ad9560fffe04ad4067de40da4122a016889c (diff) | |
download | FreeBSD-ports-3c3ec35cdac5b00ee09be0891fa8cdd0f2c42e1a.zip FreeBSD-ports-3c3ec35cdac5b00ee09be0891fa8cdd0f2c42e1a.tar.gz |
Use USE_REINPLACE.
Diffstat (limited to 'x11-wm')
-rw-r--r-- | x11-wm/metacity/Makefile | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/x11-wm/metacity/Makefile b/x11-wm/metacity/Makefile index a29753c..305cf8f 100644 --- a/x11-wm/metacity/Makefile +++ b/x11-wm/metacity/Makefile @@ -19,6 +19,7 @@ LIB_DEPENDS= gtk-x11-2.0:${PORTSDIR}/x11-toolkits/gtk20 \ USE_X_PREFIX= yes USE_GMAKE= yes +USE_REINPLACE= yes USE_LIBTOOL= yes CONFIGURE_ARGS= --localstatedir=${PREFIX}/share/gnome \ --datadir=${PREFIX}/share/gnome \ @@ -28,12 +29,12 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include" \ CONFIGURE_TARGET= --target=${MACHINE_ARCH}-unknown-freebsd${OSREL} 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|\$\(libdir\)/pkgconfig|\$\(prefix\)/libdata/pkgconfig|g ; \ - s|\$\(libdir\)/bonobo/servers|\$\(prefix\)/libdata/bonobo/servers|g ; \ - s|\$\(datadir\)/locale|\$\(prefix\)/share/locale|g' + @find ${WRKSRC} -name "Makefile.in*" | xargs ${REINPLACE_CMD} -e \ + 's|[(]datadir[)]/gnome/|(datadir)/|g ; \ + s|[(]libdir[)]/pkgconfig|(prefix)/libdata/pkgconfig|g ; \ + s|[(]libdir[)]/bonobo/servers|(prefix)/libdata/bonobo/servers|g ; \ + s|[(]datadir[)]/locale|(prefix)/share/locale|g' .include <bsd.port.mk> |