summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net/samba/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/net/samba/Makefile b/net/samba/Makefile
index 3c61172bc788..8ead2cff1674 100644
--- a/net/samba/Makefile
+++ b/net/samba/Makefile
@@ -123,6 +123,8 @@ post-clean:
LIB_DEPENDS+= cups.2:${PORTSDIR}/print/cups-base
CONFIGURE_ENV+= CPPFLAGS=-I${LOCALBASE}/include \
LDFLAGS=-L${LOCALBASE}/lib
+.else
+CONFIGURE_ARGS+= --disable-cups
.endif
.if defined(KRB5_HOME) && exists(${KRB5_HOME})