diff options
author | sobomax <sobomax@FreeBSD.org> | 2002-07-19 00:05:23 +0800 |
---|---|---|
committer | sobomax <sobomax@FreeBSD.org> | 2002-07-19 00:05:23 +0800 |
commit | 3c3ec35cdac5b00ee09be0891fa8cdd0f2c42e1a (patch) | |
tree | f17b7894423790cd63911d7fab61dd24d4952643 /x11-toolkits/libwnck | |
parent | e3c2ad9560fffe04ad4067de40da4122a016889c (diff) | |
download | freebsd-ports-graphics-3c3ec35cdac5b00ee09be0891fa8cdd0f2c42e1a.tar.gz freebsd-ports-graphics-3c3ec35cdac5b00ee09be0891fa8cdd0f2c42e1a.tar.zst freebsd-ports-graphics-3c3ec35cdac5b00ee09be0891fa8cdd0f2c42e1a.zip |
Use USE_REINPLACE.
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 977be242ee1..f4904264c93 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> |