forked from Lainports/freebsd-ports
16 lines
406 B
Text
16 lines
406 B
Text
--- Makefile.orig 2012-10-04 03:59:14.000000000 -0400
|
|
+++ Makefile 2012-12-02 21:44:52.000000000 -0500
|
|
@@ -71,6 +71,13 @@
|
|
LOADLIBES += -L$(BASEDIR)/lib -Wl,-R,$(BASEDIR)/lib
|
|
endif
|
|
|
|
+# FreeBSD
|
|
+ifeq ($(OS_NAME),FreeBSD)
|
|
+ LOADLIBES += -L${LOCALBASE}/lib
|
|
+ CFLAGS += -I${LOCALBASE}/include
|
|
+ PREFIX=
|
|
+endif
|
|
+
|
|
ifneq ($(POPT_DIR),)
|
|
CFLAGS += -I$(POPT_DIR)
|
|
LOADLIBES += -L$(POPT_DIR)
|