p5-Quota on 12
Tim Rice
tim at xinuos.com
Tue Feb 5 00:07:03 UTC 2019
I was trying to figure out why ldap-account-manager was missing from the
ports on 12 and discovered p5-Quota was marked as broken. Looking at
p5-Quota we see that the r336017 code added to rpcsvc/rquota.h triggered
the #if defined (EXT_RQUOTAVERS) section of hints/bsd.h causing the
breakage.
If we patch hints/bsd.h like this, the module will build again.
.......
--- hints/bsd.h.orig 2013-08-14 21:56:14.000000000 -0700
+++ hints/bsd.h 2019-02-04 14:47:46.935527000 -0800
@@ -65,7 +65,7 @@
#define MY_XDR
-#if defined (EXT_RQUOTAVERS)
+#if defined (EXT_RQUOTAVERS) && (__FreeBSD__ < 12)
#define USE_EXT_RQUOTA /* RPC version 2 aka extended quota RPC */
#endif
.......
It is possible it would be better to
+#if defined (EXT_RQUOTAVERS) && !defined(__FreeBSD__)
I hope this helps someone.
--
Tim Rice
tim at xinuos.com
More information about the freebsd-ports
mailing list