summaryrefslogtreecommitdiff
path: root/databases
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2001-07-02 04:40:37 +0000
committerjlam <jlam@pkgsrc.org>2001-07-02 04:40:37 +0000
commit44683f15f99989588bc7b7ce9af4c7694709d28d (patch)
tree0fbd929f25e17d72c913da8ee74d68714bc041ad /databases
parent34a1df0bcb5021cc82eb6988be3e3aa449ab9a12 (diff)
downloadpkgsrc-44683f15f99989588bc7b7ce9af4c7694709d28d.tar.gz
REPLACE_BUILDLINK_SED and BUILDLINK_CONFIG_WRAPPER_SED should do opposite
substitutions, so make it so.
Diffstat (limited to 'databases')
-rw-r--r--databases/freetds/buildlink.mk6
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}