diff options
Diffstat (limited to 'net/samba3/Makefile')
-rw-r--r-- | net/samba3/Makefile | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/net/samba3/Makefile b/net/samba3/Makefile index fe8d7e0c43c5..4e224afc9c7d 100644 --- a/net/samba3/Makefile +++ b/net/samba3/Makefile @@ -18,8 +18,14 @@ DISTNAME= ${PORTNAME}-${PORTVERSION:S/a/-alpha/} MAINTAINER= dwcjr@FreeBSD.org +.if !defined(WITHOUT_CUPS) +WITH_CUPS= yes +.endif + .if defined(WITH_CUPS) LIB_DEPENDS= cups.2:${PORTSDIR}/print/cups-base +CONFIGURE_ENV+= CPPFLAGS=-I${LOCALBASE}/include \ + LDFLAGS=-L${LOCALBASE}/lib .endif # directories @@ -49,11 +55,6 @@ CONFIGURE_ARGS+= --with-krb5=${KRB5_HOME} CONFIGURE_ARGS+= --with-krb5=no .endif -.if defined(WITH_CUPS) -# This enables CUPS printing support in Samba. -CONFIGURE_ARGS+= --with-cups=${LOCALBASE} -.endif - .if defined(WITH_ACL_SUPPORT) .if ${OSVERSION} < 500018 BROKEN= "Requires a recent FreeBSD 5.0-CURRENT" |