summaryrefslogtreecommitdiff
path: root/net/samba
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2004-01-17 12:19:51 +0000
committerjlam <jlam@pkgsrc.org>2004-01-17 12:19:51 +0000
commitb0bc9e961429463701caedc5e5faf9bec1323113 (patch)
tree3564f81280262ea182434c84ec2e9817c7cf8f3e /net/samba
parent62f18868c9992dbc8a2aeb13674f1793938e85e1 (diff)
downloadpkgsrc-b0bc9e961429463701caedc5e5faf9bec1323113.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/samba')
-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