diff options
author | Maxim Sobolev <sobomax@FreeBSD.org> | 2002-07-18 16:05:23 +0000 |
---|---|---|
committer | Maxim Sobolev <sobomax@FreeBSD.org> | 2002-07-18 16:05:23 +0000 |
commit | 401ab0f9659188c7eb6d1da3540734e458e021b6 (patch) | |
tree | 3e4327652dd0c0f0b8e90ffa2c0b52af344f3817 /x11-toolkits/libwnck | |
parent | e7b985a6bfc8bacb9a52afd466c13442ca827537 (diff) | |
download | ports-401ab0f9659188c7eb6d1da3540734e458e021b6.tar.gz ports-401ab0f9659188c7eb6d1da3540734e458e021b6.zip |
Use USE_REINPLACE.
Notes
Notes:
svn path=/head/; revision=63205
Diffstat (limited to 'x11-toolkits/libwnck')
-rw-r--r-- | x11-toolkits/libwnck/Makefile | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/x11-toolkits/libwnck/Makefile b/x11-toolkits/libwnck/Makefile index 977be242ee13..f4904264c93b 100644 --- a/x11-toolkits/libwnck/Makefile +++ b/x11-toolkits/libwnck/Makefile @@ -19,6 +19,7 @@ LIB_DEPENDS= gtk-x11-2.0.0:${PORTSDIR}/x11-toolkits/gtk20 USE_BZIP2= yes USE_X_PREFIX= yes USE_GMAKE= yes +USE_REINPLACE= yes USE_BISON= yes INSTALLS_SHLIB= yes USE_LIBTOOL= yes @@ -27,9 +28,9 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/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|\$\(libdir\)/pkgconfig|\$\(prefix\)/libdata/pkgconfig|g' + @find ${WRKSRC} -name "Makefile.in*" | xargs ${REINPLACE_CMD} -e \ + 's|[(]libdir[)]/pkgconfig|(prefix)/libdata/pkgconfig|g' .include <bsd.port.mk> |