summaryrefslogtreecommitdiff
path: root/mk/db1.builtin.mk
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2004-12-23 14:27:04 +0000
committerjlam <jlam@pkgsrc.org>2004-12-23 14:27:04 +0000
commit1a36b3b6702a8f018d30691db436338ea595d52c (patch)
tree9a076996c5ac8157c7452d2e5308423f698b941f /mk/db1.builtin.mk
parentfbb3fd6d93becd92fbf8f935e26033b5fd98e61f (diff)
downloadpkgsrc-1a36b3b6702a8f018d30691db436338ea595d52c.tar.gz
Don't remove library options from the command line quite so aggressively.
Allow the configure process a chance to detect on its own whether the named library exists or not by allowing those library options to pass through to the compiler on a test compile. A package that *needs* those library options to be removed can add the appropriate rm: BUILDLINK_TRANSFORM command to its package Makefile.
Diffstat (limited to 'mk/db1.builtin.mk')
-rw-r--r--mk/db1.builtin.mk3
1 files changed, 1 insertions, 2 deletions
diff --git a/mk/db1.builtin.mk b/mk/db1.builtin.mk
index aef3e187fcd..c92e9984895 100644
--- a/mk/db1.builtin.mk
+++ b/mk/db1.builtin.mk
@@ -1,4 +1,4 @@
-# $NetBSD: db1.builtin.mk,v 1.9 2004/12/11 00:32:16 jlam Exp $
+# $NetBSD: db1.builtin.mk,v 1.10 2004/12/23 14:27:04 jlam Exp $
.for _lib_ in db db1
. if !defined(_BLNK_LIB_FOUND.${_lib_})
@@ -70,7 +70,6 @@ BUILDLINK_LDADD.db1= -ldb1
BUILDLINK_TRANSFORM+= l:db:db1
. else
BUILDLINK_LDADD.db1= # empty
-BUILDLINK_TRANSFORM+= rm:-ldb
. endif
BUILDLINK_LIBS.db1= ${BUILDLINK_LDADD.db1}