summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorhauke <hauke@pkgsrc.org>2012-04-17 16:14:54 +0000
committerhauke <hauke@pkgsrc.org>2012-04-17 16:14:54 +0000
commit525aee6beac2cee5e0a5d05bf1b2f36d106512bb (patch)
tree97643b009bcb55bef1606933313fee5298139ddd /net
parent5bac3f2641459871fc2a8e72f4291f2ebefa0498 (diff)
downloadpkgsrc-525aee6beac2cee5e0a5d05bf1b2f36d106512bb.tar.gz
As a workaround to PR pkg/46072, build Netatalk explicitely without
quota support for NetBSD 5.99.62 and newer, until we have patches supporting the new quota interface.
Diffstat (limited to 'net')
-rw-r--r--net/netatalk/Makefile13
1 files changed, 10 insertions, 3 deletions
diff --git a/net/netatalk/Makefile b/net/netatalk/Makefile
index 6c44830bef0..35d95256ced 100644
--- a/net/netatalk/Makefile
+++ b/net/netatalk/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.81 2012/02/06 12:41:16 wiz Exp $
+# $NetBSD: Makefile,v 1.82 2012/04/17 16:14:54 hauke Exp $
DISTNAME= netatalk-2.2.1
-PKGREVISION= 3
+PKGREVISION= 4
CATEGORIES= net print
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=netatalk/}
EXTRACT_SUFX= .tar.bz2
@@ -42,7 +42,6 @@ CONFIGURE_ARGS+= --enable-netbsd
CONFIGURE_ARGS+= --enable-overwrite
CONFIGURE_ARGS+= --enable-timelord
CONFIGURE_ARGS+= --enable-ddp
-CONFIGURE_ARGS+= --enable-quota
CONFIGURE_ARGS+= --libexecdir=${PREFIX}/libexec/netatalk
CONFIGURE_ARGS+= --sbindir=${PREFIX}/libexec/netatalk
CONFIGURE_ARGS+= --with-pkgconfdir=${PKG_SYSCONFDIR}
@@ -52,6 +51,14 @@ CONFIGURE_ARGS+= --with-uams-path=${PREFIX}/libexec/netatalk/uams
CONFIGURE_ARGS+= --with-bdb=${BDBBASE}
CONFIGURE_ARGS+= --with-ssl-dir=${BUILDLINK_PREFIX.openssl}
+# XXX Waiting for NetBSD quota patches
+.if empty(MACHINE_PLATFORM:MNetBSD-5.99.6[2-5]*) && \
+ empty(MACHINE_PLATFORM:MNetBSD-[6-9]*)
+CONFIGURE_ARGS+= --enable-quota
+.else
+CONFIGURE_ARGS+= --disable-quota
+.endif
+
MAKE_DIRS+= ${PKG_SYSCONFDIR}/msg
SUBST_CLASSES+= paths