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
t...@xinuos.com

_______________________________________________
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"

Reply via email to