Patch to enable cervisia in FreeBSD 5

Francois Tigeot francois.tigeot at nic.fr
Thu Apr 24 05:10:11 PDT 2003


Hi,

The building of cervisia has been disabled in the kdesdk3 port under
FreeBSD 5.

The original reason for this (C++ breakage in sys/wait.h) is no longer
present in 5.0-RELEASE.

Please consider the following patch against devel/kdesdk3/Makefile


--- Makefile.orig       Thu Apr 24 14:02:48 2003
+++ Makefile    Thu Apr 24 11:59:45 2003
@@ -32,8 +32,9 @@
 .include <bsd.port.pre.mk>
 
 # Doesn't compile due to C++-unsafe header sys/wait.h.
-# XXX: Need to figure out when this actually happens.
-.if ${OSVERSION} > 500000
+# XXX: Need to figure out when this actually happens but
+# 5.0-RELEASE is safe
+.if ${OSVERSION} > 500000 && ${OSVERSION} < 500043
 WITHOUT_CERVISIA=      yes
 .endif # ${OSVERSION} > 500000


-- 
François Tigeot    | AFNIC
http://www.nic.fr/ | mailto:nic at nic.fr


More information about the freebsd-ports mailing list