On Tue, Dec 02, 2014 at 06:11:33AM +0000, Rui Paulo wrote: > Author: rpaulo > Date: Tue Dec 2 06:11:32 2014 > New Revision: 275395 > URL: https://svnweb.freebsd.org/changeset/base/275395 > > Log: > Rewrite parts of gpioctl(8) to use the gpio(3) library. > > Modified: > head/usr.sbin/gpioctl/Makefile > head/usr.sbin/gpioctl/gpioctl.c > > Modified: head/usr.sbin/gpioctl/Makefile > ============================================================================== > --- head/usr.sbin/gpioctl/Makefile Tue Dec 2 05:41:03 2014 > (r275394) > +++ head/usr.sbin/gpioctl/Makefile Tue Dec 2 06:11:32 2014 > (r275395) > @@ -3,4 +3,9 @@ > PROG= gpioctl > MAN= gpioctl.8 > > +CFLAGS+= -I${.CURDIR}/../../lib/libgpio > + > +DPADD+= ${LIBGPIO} > +LDADD+= -lgpio > +
I have spent a lot of time on adding LIBADD, too bad you are not using it :( Bapt
pgp8XOVmUzjEb.pgp
Description: PGP signature