Date: Fri, 06 Jun 2014 19:09:30 +0000 From: bz-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 190725] New: aircrack-ng Makefile bug, wouldn't build with SQLITE option set. Message-ID: <bug-190725-13@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D190725 Bug ID: 190725 Summary: aircrack-ng Makefile bug, wouldn't build with SQLITE option set. Product: Ports Tree Version: Latest Hardware: Any OS: Any Status: Needs Triage Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: freebsd-ports-bugs@FreeBSD.org Reporter: clutton@zoho.com The nature of but is a build system: It includes common.mak from every single Makefile. So, from src/Makefile it would be included twice, and you'll see everything doubled: cc -O2 -pipe -march=3Dnative -fno-strict-aliasing -D_FILE_OFFSET_BITS=3D64 -D_REVISION=3D0 -I/usr/local/include -DHAVE_SQLITE -D_FILE_OFFSET_BITS=3D64 -D_REVISION=3D0 -I/usr/local/include -DHAVE_SQLITE -Iinclude=20 -Wl,-rpath,/usr/lib:/usr/local/lib tkiptun-ng.o common.o crypto.o osdep/radiotap/radiotap.o -o tkiptun-ng -Losdep -losdep -lssl -lcrypto=20 -Wl,-rpath,/usr/lib:/usr/local/lib >From src/osdep it'll be three times... But that is not the reason. src/osdep/file.c has #include "pcap.h" directive. And since pcap.h is in the src directory and not in the src/osdep directory, local include shouldn't w= ork. But clang =C2=ABmanages=C2=BB somehow to use local includes "", like it was= a system include <>. Then those -I comes, first wins. In this case /usr/local/include/pcap.h would be first. It'll be better to make it more clear though. But it'll require a lot of fi= xes in the build system. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-190725-13>