Update to 2.2.3a

Finally settle on a fix for CUPS dependency

PR:		34683
Submitted by:	maintainer, ports@geeksrus.net
This commit is contained in:
David W. Chapman Jr. 2002-02-07 17:01:23 +00:00
parent 4d99ad28f6
commit 68e9a3d4ab
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=54317
2 changed files with 9 additions and 7 deletions

View file

@ -6,7 +6,7 @@
#
PORTNAME= samba
PORTVERSION= 2.2.3
PORTVERSION= 2.2.3a
CATEGORIES= net
MASTER_SITES= ftp://ftp.samba.org/pub/samba/%SUBDIR%/ \
ftp://samba.anu.edu.au/pub/samba/%SUBDIR%/ \
@ -17,10 +17,6 @@ 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/
PATCHFILES+= proto.h.patch loadparm.c.patch reply.c.patch
@ -45,9 +41,15 @@ CONFIGURE_ARGS= --libdir=${SAMBA_CONFDIR} \
.include <bsd.port.pre.mk>
# to find CUPS libs, includes
.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
.if defined(KRB5_HOME) && exists(${KRB5_HOME})
CONFIGURE_ARGS+= --with-krb5=${KRB5_HOME}

View file

@ -1,4 +1,4 @@
MD5 (samba-2.2.3.tar.gz) = 618e679e84923b958f18e7d50c09bc1a
MD5 (samba-2.2.3a.tar.gz) = b6ec2f076af69331535a82b586f55254
MD5 (proto.h.patch) = b8b577540c1de5202e70584a402c2d74
MD5 (loadparm.c.patch) = df642726476af756df8a2e6c0537eb0d
MD5 (reply.c.patch) = fcc861e805f74ec610ba44ab5cc9f1b7