aboutsummaryrefslogtreecommitdiffstats
path: root/databases/freetds/Makefile
diff options
context:
space:
mode:
authordwcjr <dwcjr@FreeBSD.org>2002-09-02 00:07:59 +0800
committerdwcjr <dwcjr@FreeBSD.org>2002-09-02 00:07:59 +0800
commitfd50192ea7567a034b59dfc96a1d112f8ccfa573 (patch)
tree6975c46330f04e77b17cb4d014c9d66ceb4f7a68 /databases/freetds/Makefile
parent54d69c112debb52b84b6d174bd59479eec834fb7 (diff)
downloadfreebsd-ports-gnome-fd50192ea7567a034b59dfc96a1d112f8ccfa573.tar.gz
freebsd-ports-gnome-fd50192ea7567a034b59dfc96a1d112f8ccfa573.tar.zst
freebsd-ports-gnome-fd50192ea7567a034b59dfc96a1d112f8ccfa573.zip
${PERL} -> ${REINPLACE_CMD}
PR: 40784 Submitted by: corecode@corecode.ath.cx Reviewed by: flynn@energyhq.homeip.net
Diffstat (limited to 'databases/freetds/Makefile')
-rw-r--r--databases/freetds/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/databases/freetds/Makefile b/databases/freetds/Makefile
index 717701b8fdc1..97d2390e8af2 100644
--- a/databases/freetds/Makefile
+++ b/databases/freetds/Makefile
@@ -18,6 +18,7 @@ LIB_DEPENDS= iconv.3:${PORTSDIR}/converters/libiconv
USE_GMAKE= yes
GNU_CONFIGURE= yes
+USE_REINPLACE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
CONFIGURE_ARGS= --with-tdsver=4.2
@@ -42,10 +43,10 @@ PLIST_SUB+= ODBC="@comment "
.endif
post-patch:
- @find ${WRKSRC} -name "Makefile.in" | xargs ${PERL} -pi -e \
+ @${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \
's|/freetds.conf|/freetds.conf.dist|g ; \
- s|glib-config|\$$\(GLIB_CONFIG\)|g ; \
- s|-lglib|`\$$\(GLIB_CONFIG\) --libs glib`|g ; \
+ s|glib-config|$$(GLIB_CONFIG)|g ; \
+ s|-lglib|`$$(GLIB_CONFIG) --libs glib`|g ; \
s| common.h||g'
post-install: