Lines 8-14
Link Here
|
8 |
SLOT="6.0" |
8 |
SLOT="6.0" |
9 |
KEYWORDS="~sparc-fbsd ~x86-fbsd" |
9 |
KEYWORDS="~sparc-fbsd ~x86-fbsd" |
10 |
|
10 |
|
11 |
IUSE="atm bluetooth ssl ipv6 kerberos nis gpib build bootstrap" |
11 |
IUSE="atm bluetooth ssl ipv6 kerberos nis gpib build bootstrap crosscompile_opts_headers-only" |
12 |
|
12 |
|
13 |
# Crypto is needed to have an internal OpenSSL header |
13 |
# Crypto is needed to have an internal OpenSSL header |
14 |
# sys is needed for libalias, probably we can just extract that instead of |
14 |
# sys is needed for libalias, probably we can just extract that instead of |
Lines 66-72
Link Here
|
66 |
use nis || mymakeopts="${mymakeopts} NO_NIS= " |
66 |
use nis || mymakeopts="${mymakeopts} NO_NIS= " |
67 |
use gpib || mymakeopts="${mymakeopts} NO_GPIB= " |
67 |
use gpib || mymakeopts="${mymakeopts} NO_GPIB= " |
68 |
|
68 |
|
69 |
mymakeopts="${mymakeopts} NO_OPENSSH= NO_BIND= NO_SENDMAIL= " |
69 |
mymakeopts="${mymakeopts} NO_OPENSSH= NO_BIND= NO_SENDMAIL= NO_LIBC_R= NO_LIBPTHREAD=" |
70 |
|
70 |
|
71 |
if [[ ${CTARGET} != ${CHOST} ]]; then |
71 |
if [[ ${CTARGET} != ${CHOST} ]]; then |
72 |
mymakeopts="${mymakeopts} MACHINE=$(tc-arch-kernel ${CTARGET})" |
72 |
mymakeopts="${mymakeopts} MACHINE=$(tc-arch-kernel ${CTARGET})" |
Lines 245-250
Link Here
|
245 |
mkinstall || die "Install failed" |
245 |
mkinstall || die "Install failed" |
246 |
fi |
246 |
fi |
247 |
|
247 |
|
|
|
248 |
# Add symlinks (-> libthr) for legacy threading libraries, since these are |
249 |
# not built for two reasons: |
250 |
# 1) Symbols from multiple threading libraries can get mixed, even though |
251 |
# libmap.conf remaps them, causing insidious bugs and crashes. |
252 |
# 2) FreeBSD 7.0-CURRENT uses symlinks in a similar manner, since libthr |
253 |
# has been adopted as the default threading library. |
254 |
dosym libthr.a /usr/lib/libpthread.a |
255 |
dosym libthr.so /usr/lib/libpthread.so |
256 |
dosym libthr.a /usr/lib/libc_r.a |
257 |
dosym libthr.so /usr/lib/libc_r.so |
258 |
|
248 |
# Don't install the rest of the configuration files if crosscompiling |
259 |
# Don't install the rest of the configuration files if crosscompiling |
249 |
[[ ${CTARGET} != ${CHOST} ]] && return 0 |
260 |
[[ ${CTARGET} != ${CHOST} ]] && return 0 |
250 |
|
261 |
|