freebsd-ports/sysutils/logrotate/files/patch-Makefile
Wesley Shields 1a6db7c45a Update to 3.8.3.
PR:		ports/173496
Submitted by:	wxs@
Approved by:	maintainer timeout
2012-12-17 15:22:55 +00:00

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)