diff options
Diffstat (limited to 'net/netatalk/patches/patch-ar')
-rw-r--r-- | net/netatalk/patches/patch-ar | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/net/netatalk/patches/patch-ar b/net/netatalk/patches/patch-ar index 25945ccd4cd..b74be161035 100644 --- a/net/netatalk/patches/patch-ar +++ b/net/netatalk/patches/patch-ar @@ -1,12 +1,13 @@ -$NetBSD: patch-ar,v 1.4 2011/03/26 13:46:19 bouyer Exp $ +$NetBSD: patch-ar,v 1.5 2011/03/26 18:45:52 bouyer Exp $ --- macros/quota-check.m4.orig 2011-03-23 21:42:43.000000000 +0100 +++ macros/quota-check.m4 2011-03-23 21:44:10.000000000 +0100 -@@ -15,6 +15,7 @@ +@@ -15,6 +15,8 @@ netatalk_cv_quotasupport="no" AC_DEFINE(NO_QUOTA_SUPPORT, 1, [Define if quota support should not compiled]) ]) -+ AC_CHECK_LIB(quota, getfsquota, [QUOTA_LIBS="-lquota -lprop -lrpcsvc"], [], [-lprop -lrpcsvc]) ++ AC_CHECK_LIB(quota, getfsquota, [QUOTA_LIBS="-lquota -lprop -lrpcsvc" ++ AC_DEFINE(HAVE_LIBQUOTA, 1, [define if you have libquota])], [], [-lprop -lrpcsvc]) else netatalk_cv_quotasupport="no" AC_DEFINE(NO_QUOTA_SUPPORT, 1, [Define if quota support should not compiled]) |