summaryrefslogtreecommitdiff
path: root/mail/sendmail
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>2002-06-17 21:08:16 +0000
committertron <tron@pkgsrc.org>2002-06-17 21:08:16 +0000
commitb5a7389dcf88cb80660b7d921f0103d1463ad20a (patch)
tree6f52da204dd406d6fb30abb2d1a0f2d32c8524ad /mail/sendmail
parentc31f29b41d3a0f29c4e1efab3d666f5fe4014fe9 (diff)
downloadpkgsrc-b5a7389dcf88cb80660b7d921f0103d1463ad20a.tar.gz
Complete buildlink conversation of this package by using it for the "db"
package, too.
Diffstat (limited to 'mail/sendmail')
-rw-r--r--mail/sendmail/Makefile4
-rw-r--r--mail/sendmail/files/site.config.m4-db24
2 files changed, 4 insertions, 4 deletions
diff --git a/mail/sendmail/Makefile b/mail/sendmail/Makefile
index 2461896801e..60b45b14f8f 100644
--- a/mail/sendmail/Makefile
+++ b/mail/sendmail/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.48 2002/06/17 21:05:06 tron Exp $
+# $NetBSD: Makefile,v 1.49 2002/06/17 21:08:16 tron Exp $
DISTNAME= sendmail.8.11.6
PKGNAME= sendmail-8.11.6
@@ -46,7 +46,7 @@ USE_DB2?= YES
USE_DB2?= NO
.endif
.if ${USE_DB2} == YES
-DEPENDS+= db-2.7.7:../../databases/db
+.include "../../databases/db/buildlink.mk"
.endif
.if defined(USE_LDAP) && ${USE_LDAP} == YES
diff --git a/mail/sendmail/files/site.config.m4-db2 b/mail/sendmail/files/site.config.m4-db2
index e6bbd6de029..01924fc895f 100644
--- a/mail/sendmail/files/site.config.m4-db2
+++ b/mail/sendmail/files/site.config.m4-db2
@@ -1,3 +1,3 @@
# enable db2
-APPENDDEF(`confENVDEF', `-I${LOCALBASE}/include/db2')
-APPENDDEF(`confLIBS', `-L${LOCALBASE}/lib -ldb2')
+APPENDDEF(`confENVDEF', `-I${BUILDLINK_DIR}/include/db2')
+APPENDDEF(`confLIBS', `-L${BUILDLINK_DIR}/lib -ldb2')