summaryrefslogtreecommitdiff
path: root/databases/freetds/buildlink.mk
diff options
context:
space:
mode:
Diffstat (limited to 'databases/freetds/buildlink.mk')
-rw-r--r--databases/freetds/buildlink.mk9
1 files changed, 5 insertions, 4 deletions
diff --git a/databases/freetds/buildlink.mk b/databases/freetds/buildlink.mk
index 6473823f62e..4c9dab5e77a 100644
--- a/databases/freetds/buildlink.mk
+++ b/databases/freetds/buildlink.mk
@@ -1,10 +1,11 @@
-# $NetBSD: buildlink.mk,v 1.1 2001/06/20 23:48:49 jlam Exp $
+# $NetBSD: buildlink.mk,v 1.2 2001/06/23 19:26:50 jlam Exp $
#
# This Makefile fragment is included by packages that use freetds.
#
# To use this Makefile fragment, simply:
#
-# (1) Optionally define FREETDS_REQD to the version of freetds desired.
+# (1) Optionally define BUILDLINK_DEPENDS.freetds to the dependency pattern
+# for the version of freetds desired.
# (2) Include this Makefile fragment in the package Makefile,
# (3) Add ${BUILDLINK_DIR}/include to the front of the C preprocessor's header
# search path, and
@@ -14,8 +15,8 @@
.if !defined(FREETDS_BUILDLINK_MK)
FREETDS_BUILDLINK_MK= # defined
-FREETDS_REQD?= 0.50
-DEPENDS+= freetds>=${FREETDS_REQD}:../../databases/freetds
+BUILDLINK_DEPENDS.freetds?= freetds>=0.50
+DEPENDS+= ${BUILDLINK_DEPENDS.freetds}:../../databases/freetds
BUILDLINK_PREFIX.freetds= ${LOCALBASE}
BUILDLINK_FILES.freetds= freetds/include/*