diff options
Diffstat (limited to 'net/linc')
-rw-r--r-- | net/linc/Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/net/linc/Makefile b/net/linc/Makefile index 4db086d00869..bd5ed5db7efe 100644 --- a/net/linc/Makefile +++ b/net/linc/Makefile @@ -18,6 +18,7 @@ LIB_DEPENDS= glib-2.0.0:${PORTSDIR}/devel/glib20 USE_BZIP2= yes USE_GMAKE= yes +USE_REINPLACE= yes INSTALLS_SHLIB= yes USE_LIBTOOL= yes CONFIGURE_ARGS= --with-html-dir=${PREFIX}/share/doc \ @@ -27,7 +28,7 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ CONFIGURE_TARGET= --target=${MACHINE_ARCH}-unknown-freebsd${OSREL} pre-patch: - @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> |