summaryrefslogtreecommitdiff
path: root/databases/freetds-devel
diff options
context:
space:
mode:
authorDavid W. Chapman Jr. <dwcjr@FreeBSD.org>2002-09-01 16:07:59 +0000
committerDavid W. Chapman Jr. <dwcjr@FreeBSD.org>2002-09-01 16:07:59 +0000
commit534fffca27bb18f7529d548c46ee3326505a89c7 (patch)
treea09ac440edd299d85a3517dea62caa2b115543fc /databases/freetds-devel
parentUpdate for a new patchset, which has only different comments. (diff)
${PERL} -> ${REINPLACE_CMD}
PR: 40784 Submitted by: corecode@corecode.ath.cx Reviewed by: flynn@energyhq.homeip.net
Diffstat (limited to 'databases/freetds-devel')
-rw-r--r--databases/freetds-devel/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/databases/freetds-devel/Makefile b/databases/freetds-devel/Makefile
index 717701b8fdc1..97d2390e8af2 100644
--- a/databases/freetds-devel/Makefile
+++ b/databases/freetds-devel/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: