diff options
author | David W. Chapman Jr. <dwcjr@FreeBSD.org> | 2002-09-01 16:07:59 +0000 |
---|---|---|
committer | David W. Chapman Jr. <dwcjr@FreeBSD.org> | 2002-09-01 16:07:59 +0000 |
commit | 534fffca27bb18f7529d548c46ee3326505a89c7 (patch) | |
tree | a09ac440edd299d85a3517dea62caa2b115543fc /databases/freetds | |
parent | 5bc499ce47fa1a8da853b36cc61cddf06075d203 (diff) | |
download | ports-534fffca27bb18f7529d548c46ee3326505a89c7.tar.gz ports-534fffca27bb18f7529d548c46ee3326505a89c7.zip |
Notes
Diffstat (limited to 'databases/freetds')
-rw-r--r-- | databases/freetds/Makefile | 7 |
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: |