From 8be5097d9589d3e4169a0a8dcea3dd98d2e02440 Mon Sep 17 00:00:00 2001 From: "David W. Chapman Jr." Date: Thu, 7 Jun 2001 19:18:42 +0000 Subject: [PATCH] Bump portrevision and add hooks for WITH_CUPS PR: 27650 Submitted by: marcus@marcuscom.com Reviewed by: will --- net/samba-devel/Makefile | 12 +++++++++++- net/samba3/Makefile | 12 +++++++++++- 2 files changed, 22 insertions(+), 2 deletions(-) diff --git a/net/samba-devel/Makefile b/net/samba-devel/Makefile index 0480276d6178..b22ada06ade5 100644 --- a/net/samba-devel/Makefile +++ b/net/samba-devel/Makefile @@ -7,7 +7,7 @@ PORTNAME= samba PORTVERSION= 2.2.0 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= net MASTER_SITES= ftp://ftp.samba.org/pub/samba/%SUBDIR%/ \ ftp://samba.anu.edu.au/pub/samba/%SUBDIR%/ \ @@ -20,6 +20,11 @@ DISTNAME= samba-${PORTVERSION} MAINTAINER= dwcjr@inethouston.net NO_LATEST_LINK= yes +USE_AUTOCONF= yes + +.if defined(WITH_CUPS) +LIB_DEPENDS= cups.2:${PORTSDIR}/print/cups +.endif # directories VARDIR= /var @@ -43,6 +48,11 @@ CONFIGURE_ARGS= --libdir=${SAMBA_CONFDIR} \ CONFIGURE_ARGS+=--with-krb5=${KRB5_HOME} .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" diff --git a/net/samba3/Makefile b/net/samba3/Makefile index 0480276d6178..b22ada06ade5 100644 --- a/net/samba3/Makefile +++ b/net/samba3/Makefile @@ -7,7 +7,7 @@ PORTNAME= samba PORTVERSION= 2.2.0 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= net MASTER_SITES= ftp://ftp.samba.org/pub/samba/%SUBDIR%/ \ ftp://samba.anu.edu.au/pub/samba/%SUBDIR%/ \ @@ -20,6 +20,11 @@ DISTNAME= samba-${PORTVERSION} MAINTAINER= dwcjr@inethouston.net NO_LATEST_LINK= yes +USE_AUTOCONF= yes + +.if defined(WITH_CUPS) +LIB_DEPENDS= cups.2:${PORTSDIR}/print/cups +.endif # directories VARDIR= /var @@ -43,6 +48,11 @@ CONFIGURE_ARGS= --libdir=${SAMBA_CONFDIR} \ CONFIGURE_ARGS+=--with-krb5=${KRB5_HOME} .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"