on FreeBSD 10, and amd64 on earlier versions.
SSP_UNSAFE is added to disable in a port if it fails to build, but
this should only be used in rare circumstances such as kernel modules.
Otherwise, the port may just be failing due to lack of respecting
LDFLAGS.
On FreeBSD 10, this uses an ldscript in /usr/lib/libc.so to pull in
libssp_nonshared.a to address issues linking on i386 [1].
On earlier FreeBSD versions the WITH_SSP knob will add -lssp_nonshared
to LDFLAGS on i386. This is not needed on amd64. However, several hundred
ports do not currently respect LDFLAGS, so this support is disabled currently
as it causes build failures if a dependency is looking for the stack_chk
symbols.
Many thanks to jlh@ for this as he had many years of patience in getting
all of the necessary pieces [1][2] in.
[1] http://svnweb.freebsd.org/base/head/lib/libc/libc.ldscript?revision=251668&view=markup
PR: ports/138228 [2]
Submitted by: jlh (bsd.ssp.mk based on)
Reviewed by: bapt
With hat: portmgr
exp-runs done: 37 over a month on 91i386,91amd64,10i386,10amd64
described here:
http://lirc.org/receivers.html
It overrides the `normal' uart(4) driver, if you have that driver
already loaded or statically in your kernel (like it is in GENERIC)
then you need to load uartlirc.ko from loader.conf(5) (or manually
via the loader prompt) for the override to work. The driver provides
a /dev/lircX node for each serial port in addition to the normal
tty nodes /dev/cuauX etc, so you can still use other serial ports
normally should you have more than one.
Note: it only supports PCI/motherboard serial ports not ones connected
via USB, for USB you can use mceusb hardware supported via webcamd,
or FTDI hardware supported by comms/lirc natively via libftdi, see:
http://wiki.freebsd.org/WebcamCompat
and the comms/lirc port's pkg-message.
WWW: http://forums.freebsd.org/showthread.php?p=175029