[Bug 192449] lang/python27 fails to build on FreeBSD 11

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Aug 7 07:48:21 UTC 2014


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

--- Comment #8 from cipher_nl at hotmail.com ---
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.


More information about the freebsd-python mailing list