diff options
author | David W. Chapman Jr. <dwcjr@FreeBSD.org> | 2002-01-17 22:50:51 +0000 |
---|---|---|
committer | David W. Chapman Jr. <dwcjr@FreeBSD.org> | 2002-01-17 22:50:51 +0000 |
commit | 4b46071702fb4d6a6092bcea132d1605426564cb (patch) | |
tree | bc8b9a601d77d9321820876c4187851ed3ca18f4 /net/samba/Makefile | |
parent | TAR file was modified without changing the name. (diff) |
Fix once and for all cups support in postfix.
Add BSD printing support to samba and default it to /etc/printcap
Bump PORTREVISION
PR: 33803
Submitted by: ports@geeksrus.net
Notes
Notes:
svn path=/head/; revision=53280
Diffstat (limited to 'net/samba/Makefile')
-rw-r--r-- | net/samba/Makefile | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/net/samba/Makefile b/net/samba/Makefile index 505f2a4b68ca..4471b3627e4f 100644 --- a/net/samba/Makefile +++ b/net/samba/Makefile @@ -7,7 +7,7 @@ PORTNAME= samba PORTVERSION= 2.2.2 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= net MASTER_SITES= ftp://ftp.samba.org/pub/samba/%SUBDIR%/ \ ftp://samba.anu.edu.au/pub/samba/%SUBDIR%/ \ @@ -18,9 +18,7 @@ MASTER_SITE_SUBDIR= . old-versions old MAINTAINER= dwcjr@FreeBSD.org -.if defined(WITH_CUPS) LIB_DEPENDS= cups.2:${PORTSDIR}/print/cups-base -.endif .if defined(WITH_RECYCLE) PATCH_SITES+= http://www.amherst.edu/~bbstone/recycle_bin/2.2.2/ @@ -46,15 +44,14 @@ CONFIGURE_ARGS= --libdir=${SAMBA_CONFDIR} \ .include <bsd.port.pre.mk> +# to find CUPS libs, includes +CONFIGURE_ENV+= CPPFLAGS=-I${LOCALBASE}/include \ + LDFLAGS=-L${LOCALBASE}/lib + .if defined(KRB5_HOME) && exists(${KRB5_HOME}) 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" |