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
commit66012afbe9d861812ad79e44d2dbef09e9d78625 (patch)
tree3564f81280262ea182434c84ec2e9817c7cf8f3e /net
parent1224b669b6d89a8f01a457831d7074b8b71c1660 (diff)
downloadpkgsrc-66012afbe9d861812ad79e44d2dbef09e9d78625.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