diff options
author | jlam <jlam> | 2001-07-02 04:40:37 +0000 |
---|---|---|
committer | jlam <jlam> | 2001-07-02 04:40:37 +0000 |
commit | 5e6db4078c06c163afae845518deb22bcb56a070 (patch) | |
tree | 0fbd929f25e17d72c913da8ee74d68714bc041ad /databases/freetds | |
parent | eb32c455e8b04bd5017ed512e61dfa0f64526eba (diff) | |
download | pkgsrc-5e6db4078c06c163afae845518deb22bcb56a070.tar.gz |
REPLACE_BUILDLINK_SED and BUILDLINK_CONFIG_WRAPPER_SED should do opposite
substitutions, so make it so.
Diffstat (limited to 'databases/freetds')
-rw-r--r-- | databases/freetds/buildlink.mk | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/databases/freetds/buildlink.mk b/databases/freetds/buildlink.mk index 107e8e698f1..005b5c7c09a 100644 --- a/databases/freetds/buildlink.mk +++ b/databases/freetds/buildlink.mk @@ -1,4 +1,4 @@ -# $NetBSD: buildlink.mk,v 1.5 2001/07/02 04:27:39 jlam Exp $ +# $NetBSD: buildlink.mk,v 1.6 2001/07/02 04:40:37 jlam Exp $ # # This Makefile fragment is included by packages that use freetds. # @@ -26,7 +26,11 @@ BUILDLINK_FILES.freetds+= freetds/lib/* BUILDLINK_FILES.freetds+= freetds/interfaces REPLACE_BUILDLINK_SED+= \ + -e "s|-I${BUILDLINK_DIR}/freetds/|-I${LOCALBASE}/freetds/|g" \ -e "s|-L${BUILDLINK_DIR}/freetds/|-L${LOCALBASE}/freetds/|g" +BUILDLINK_CONFIG_WRAPPER_SED+= \ + -e "s|-I${LOCALBASE}/freetds/|-I${BUILDLINK_DIR}/freetds/|g" \ + -e "s|-L${LOCALBASE}/freetds/|-L${BUILDLINK_DIR}/freetds/|g" BUILDLINK_TARGETS.freetds= freetds-buildlink BUILDLINK_TARGETS+= ${BUILDLINK_TARGETS.freetds} |