diff options
author | jmmv <jmmv@pkgsrc.org> | 2004-11-06 11:07:17 +0000 |
---|---|---|
committer | jmmv <jmmv@pkgsrc.org> | 2004-11-06 11:07:17 +0000 |
commit | 7714fbe666682e20d82e42125755f75908025918 (patch) | |
tree | d63b4b5d4e0325d6088520b2fbda83c44943ee0f /net/samba/Makefile | |
parent | a7c55d872fa9fd470ce7830a57ceec1efc88d73b (diff) | |
download | pkgsrc-7714fbe666682e20d82e42125755f75908025918.tar.gz |
When cups support is enabled, link smbspool into cups' backend directory
as smb (as the manual says). This enables samba printing through cups
(at least, the option appears in the web configuration form).
Bump PKGREVISION to 2.
Diffstat (limited to 'net/samba/Makefile')
-rw-r--r-- | net/samba/Makefile | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/net/samba/Makefile b/net/samba/Makefile index 2d6713349f5..ec0969ffd7f 100644 --- a/net/samba/Makefile +++ b/net/samba/Makefile @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.130 2004/10/03 00:17:58 tv Exp $ +# $NetBSD: Makefile,v 1.131 2004/11/06 11:07:17 jmmv Exp $ DISTNAME= samba-3.0.7 -PKGREVISION= 1 +PKGREVISION= 2 CATEGORIES= net MASTER_SITES= ftp://ftp.samba.org/pub/samba/old-versions/ \ ftp://ring.asahi-net.or.jp/pub/net/samba/old-versions/ \ @@ -146,5 +146,8 @@ post-install: ${INSTALL_DATA} $${file} ${EGDIR}/pam_smbpass/$${file}; \ done .endif +.if !empty(PKG_OPTIONS:Mcups) + cd ${PREFIX}/libexec/cups/backend && ${LN} -s ../../../bin/smbspool smb +.endif .include "../../mk/bsd.pkg.mk" |