summaryrefslogtreecommitdiff
path: root/security/cyrus-sasl
diff options
context:
space:
mode:
authorsbd <sbd>2011-10-18 21:59:17 +0000
committersbd <sbd>2011-10-18 21:59:17 +0000
commit79f6a34f645bdc63861521932b0afc75e5bb1f3f (patch)
treedb695d20bf873d0007576a72c81e1870979ba5c1 /security/cyrus-sasl
parent3ca847d1f8a33ab5cbb78a14ec91fbd6a5efc10c (diff)
downloadpkgsrc-79f6a34f645bdc63861521932b0afc75e5bb1f3f.tar.gz
Deal with the fact that if /usr/include/ndbm.h exists on Linux it probably
belongs to gdbm_compat. I.E. _don't_ use ndbm on Linux.
Diffstat (limited to 'security/cyrus-sasl')
-rw-r--r--security/cyrus-sasl/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/security/cyrus-sasl/Makefile b/security/cyrus-sasl/Makefile
index 52e60055d7b..48a1f7e9f5e 100644
--- a/security/cyrus-sasl/Makefile
+++ b/security/cyrus-sasl/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.57 2011/09/17 11:32:02 obache Exp $
+# $NetBSD: Makefile,v 1.58 2011/10/18 21:59:18 sbd Exp $
SVR4_PKGNAME= csasl
COMMENT= Simple Authentication and Security Layer
@@ -7,7 +7,7 @@ PKG_DESTDIR_SUPPORT= user-destdir
.include "Makefile.common"
-.if exists(/usr/include/ndbm.h)
+.if exists(/usr/include/ndbm.h) && ${OPSYS} != "Linux"
SASL_DBTYPE?= ndbm
.else
SASL_DBTYPE?= berkeley