Date: Mon, 25 Jan 2010 11:49:14 -0800 From: Darren Pilgrim <freebsd@bitfreak.org> To: freebsd-ports@freebsd.org Subject: How to determine (in a port Makefile) if KSE is present? Message-ID: <4B5DF5BA.5000708@bitfreak.org>
next in thread | raw e-mail | index | archive | help
I have a port which uses a static-linked 5.4 binary. This is broken in 8.0 due to KSE removal. I need to create a test and limit installation to only those versions on which it will run. Looking at the heads-up message for KSE removal from March 2008, I don't see a change to sys/sys/param.h, so I don't think __FreeBSD_version was bumped. Looking at the commit log for param.h and lining up timestamps, I think 800024 would be the last version with KSE support. Is it therefore prudent to allow install only if 504000 <= OSVERSION <= 800024 or should I test for KSE another way?
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4B5DF5BA.5000708>