summaryrefslogtreecommitdiff
path: root/net/samba/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'net/samba/Makefile')
-rw-r--r--net/samba/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/net/samba/Makefile b/net/samba/Makefile
index 116bfc1e88a..bd6617d4061 100644
--- a/net/samba/Makefile
+++ b/net/samba/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.72 2001/12/02 06:56:43 jlam Exp $
+# $NetBSD: Makefile,v 1.73 2001/12/18 20:23:00 jlam Exp $
DISTNAME= samba-2.2.2
WRKSRC= ${WRKDIR}/${DISTNAME}/source
@@ -50,8 +50,9 @@ CFLAGS+= -I${BUILDLINK_DIR}/include/openssl # ssl.h, err.h
CONFIGURE_ENV+= ac_cv_lib_curses_tgetent=no
-.if defined(SAMBA_WITH_CUPS)
+.if defined(USE_CUPS) && (${USE_CUPS} == "YES")
.include "../../print/cups/buildlink.mk"
+BUILD_DEFS+= USE_CUPS
.endif
.if defined(USE_PAM)