summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorfhajny <fhajny@pkgsrc.org>2012-06-11 13:19:20 +0000
committerfhajny <fhajny@pkgsrc.org>2012-06-11 13:19:20 +0000
commit6f3a224e928ee87f2daa246fd2a4a36dcebc87c9 (patch)
tree7eafe89cb8645827cb02fb9b6ac687bb78c0abc8 /net
parentfad758abadaaf4e05bab4531157c72527b58eac6 (diff)
downloadpkgsrc-6f3a224e928ee87f2daa246fd2a4a36dcebc87c9.tar.gz
Init scripts are only built on NetBSD.
Stop a silent dependency on LDAP if such is found.
Diffstat (limited to 'net')
-rw-r--r--net/netatalk/Makefile16
-rw-r--r--net/netatalk/PLIST14
2 files changed, 21 insertions, 9 deletions
diff --git a/net/netatalk/Makefile b/net/netatalk/Makefile
index 036103c9d85..1a65218dbe1 100644
--- a/net/netatalk/Makefile
+++ b/net/netatalk/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.83 2012/05/12 21:53:19 dholland Exp $
+# $NetBSD: Makefile,v 1.84 2012/06/11 13:19:20 fhajny Exp $
DISTNAME= netatalk-2.2.1
PKGREVISION= 5
@@ -51,6 +51,7 @@ CONFIGURE_ARGS+= --localstatedir=${VARBASE}/netatalk
CONFIGURE_ARGS+= --with-uams-path=${PREFIX}/libexec/netatalk/uams
CONFIGURE_ARGS+= --with-bdb=${BDBBASE}
CONFIGURE_ARGS+= --with-ssl-dir=${BUILDLINK_PREFIX.openssl}
+CONFIGURE_ARGS+= --with-ldap=no
MAKE_DIRS+= ${PKG_SYSCONFDIR}/msg
@@ -60,10 +61,19 @@ SUBST_STAGE.paths= pre-configure
SUBST_FILES.paths= etc/psf/etc2ps.sh distrib/initscripts/Makefile.in
SUBST_SED.paths= -e "s,^\\(DVIPS=\\)\\(/usr/local/tex\\)\\(/bin\\),\\1${PREFIX}\\3,"
+PLIST_VARS+= rcd
+.if ${OPSYS} == "NetBSD"
RCD_SCRIPTS= afpd atalkd papd timelord cnid_metad
-.for f in ${RCD_SCRIPTS}
+. for f in ${RCD_SCRIPTS}
RCD_SCRIPT_SRC.${f}= ${WRKSRC}/distrib/initscripts/${f}
-.endfor
+. endfor
+PLIST.rcd= yes
+.endif
+
+PLIST_VARS+= ea
+.if ${OPSYS} == "SunOS"
+PLIST.ea= yes
+.endif
.include "options.mk"
diff --git a/net/netatalk/PLIST b/net/netatalk/PLIST
index 9b4d6234bea..9c9e41f71d1 100644
--- a/net/netatalk/PLIST
+++ b/net/netatalk/PLIST
@@ -1,4 +1,5 @@
-@comment $NetBSD: PLIST,v 1.23 2011/11/29 19:26:28 bouyer Exp $
+@comment $NetBSD: PLIST,v 1.24 2012/06/11 13:19:20 fhajny Exp $
+${PLIST.ea}bin/ad
bin/add_netatalk_printer
bin/adv1tov2
bin/aecho
@@ -162,15 +163,16 @@ man/man8/timelord.8
share/aclocal/netatalk.m4
share/examples/netatalk/AppleVolumes.default
share/examples/netatalk/AppleVolumes.system
+share/examples/netatalk/afp_ldap.conf
share/examples/netatalk/afpd.conf
share/examples/netatalk/atalkd.conf
share/examples/netatalk/netatalk.conf
${PLIST.pam}share/examples/netatalk/netatalk.pam
share/examples/netatalk/papd.conf
-share/examples/rc.d/afpd
-share/examples/rc.d/atalkd
-share/examples/rc.d/cnid_metad
-share/examples/rc.d/papd
-share/examples/rc.d/timelord
+${PLIST.rcd}share/examples/rc.d/afpd
+${PLIST.rcd}share/examples/rc.d/atalkd
+${PLIST.rcd}share/examples/rc.d/cnid_metad
+${PLIST.rcd}share/examples/rc.d/papd
+${PLIST.rcd}share/examples/rc.d/timelord
share/netatalk/pagecount.ps
@pkgdir libexec/psffilters