blob: a67f609c01a31e0688bf7f61a3895d5b297945e8 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
--- Makefile.orig 2012-11-26 10:27:48.000000000 +1100
+++ Makefile 2012-12-16 15:13:34.359453238 +1100
@@ -45,8 +45,14 @@
PORTS_CFLAGS := $(shell pkg-config --cflags libusb)
PORTS_LDFLAGS := $(shell pkg-config --libs libusb) -ltermcap -pthread
else
+ ifeq ($(UNAME_S),FreeBSD) # FreeBSD Ports stuff
+# This is only needed prior to FreeBSD 8.x to find libusb
+ PORTS_CFLAGS := -I${LOCALBASE}/include
+ PORTS_LDFLAGS := -L${LOCALBASE}/lib
+ else
PORTS_CFLAGS :=
PORTS_LDFLAGS :=
+ endif
endif
endif
|