summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorjlam <jlam>2004-01-17 12:19:51 +0000
committerjlam <jlam>2004-01-17 12:19:51 +0000
commita225d5287f96d7704ac177cfba6fe5aeb547242a (patch)
tree3564f81280262ea182434c84ec2e9817c7cf8f3e /net
parent2d6d2a649fef09075c4b2ea40e2eecc24954ae49 (diff)
downloadpkgsrc-a225d5287f96d7704ac177cfba6fe5aeb547242a.tar.gz
The samba configure script looks for cups-config, and declares success on
finding cups if it's somewhere in your PATH. Explicitly pass configure --disable-cups if USE_CUPS is not defined to avoid finding CUPS. Fixes PR 24117 by David Brownlee.
Diffstat (limited to 'net')
-rw-r--r--net/samba/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/net/samba/Makefile b/net/samba/Makefile
index 9cb8b29fb00..2098c0bb852 100644
--- a/net/samba/Makefile
+++ b/net/samba/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.110 2004/01/12 03:33:04 jlam Exp $
+# $NetBSD: Makefile,v 1.111 2004/01/17 12:19:51 jlam Exp $
DISTNAME= samba-3.0.1
PKGREVISION= 1
@@ -80,6 +80,8 @@ BUILD_DEFS+= SAMBA_WITH_ADS
.if defined(USE_CUPS) && !empty(USE_CUPS:M[yY][eE][sS])
. include "../../print/cups/buildlink3.mk"
CONFIGURE_ARGS+= --enable-cups
+.else
+CONFIGURE_ARGS+= --disable-cups
.endif
BUILD_DEFS+= USE_CUPS