https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=192449

--- Comment #8 from [email protected] ---
There is a small error in my previous comment for generating the
uname/OSVERSION stuff. The '-n' parameter in the echo command should be
omitted. This should be correct:

MAKECONF_OSVERSION=`/bin/cat /usr/include/sys/param.h | grep "^#define
__FreeBSD_version" | cut -d\  -f 3 | cut -f 1`
MAKECONF_UNAME_R=`/bin/cat /usr/src/release/doc/share/xml/release.ent | grep
"release.branch" | cut -d\" -f 2`
MAKECONF_UNAME_V=`/bin/cat /usr/src/release/doc/share/xml/release.ent | grep
"release.branch" | cut -d\" -f 2`
echo >> /etc/make.conf
echo "${MAKECONF_UNAME_R}" >> /etc/make.conf
echo "${MAKECONF_UNAME_V}" >> /etc/make.conf
echo "${MAKECONF_OSVERSION}" >> /etc/make.conf

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-python
To unsubscribe, send any mail to "[email protected]"

Reply via email to