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
installation with pkgng. The port would otherwise try to install pkg
again
===> uarduno-1.02 depends on file: /boot/kernel/sbin/pkg - not found
- Don't leave any leftovers in KMODDIR
Approved by: maintainer
Feature safe: yes
controller designed primarily for prototyping and experimentation.
Although the devel/arduino port already exists for programming the device,
it will not work properly with the newest Arduino hardware. Previous
versions of the Arduino used an FTDI USB to Serial interface. The newest
Arduino (beginning with the Uno) uses an on-board ATMel 8U2 controller
to emulate a USB to Serial interface with its own custom Vendor ID and
Hardware ID. As a result, NONE of the existing FreeBSD USB to serial
drivers can work with it. This kernel driver supplies the necessary
kernel support for the Arduino Uno on FreeBSD.
Additionally, some 'ACM' USB Serial devices may work with this driver by
manually adding their Vendor ID and Product ID combination to files/ids.txt
Official web site
WWW: http://www.mrp3.com/uarduno.html
PR: ports/153963
Submitted by: Bob Frazier <bobf@mrp3.com>