From 79f6a34f645bdc63861521932b0afc75e5bb1f3f Mon Sep 17 00:00:00 2001 From: sbd Date: Tue, 18 Oct 2011 21:59:17 +0000 Subject: 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. --- security/cyrus-sasl/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'security/cyrus-sasl') 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 -- cgit v1.2.3