38febc9b19
OK jasper@
34 lines
767 B
Plaintext
34 lines
767 B
Plaintext
$OpenBSD: patch-common_mk,v 1.13 2012/09/21 17:16:14 dcoppa Exp $
|
||
--- common.mk.orig Wed Sep 19 18:08:09 2012
|
||
+++ common.mk Fri Sep 21 15:20:57 2012
|
||
@@ -1,5 +1,5 @@
|
||
UNAME=$(shell uname)
|
||
-DEBUG=1
|
||
+DEBUG=0
|
||
COVERAGE=0
|
||
INSTALL=install
|
||
FLEX=flex
|
||
@@ -161,20 +161,13 @@ I3_LDFLAGS += -Wl,-rpath,/usr/local/lib -Wl,-rpath,/us
|
||
endif
|
||
|
||
ifeq ($(UNAME),OpenBSD)
|
||
-I3_CFLAGS += -I${X11BASE}/include
|
||
+I3_CFLAGS += -I${X11BASE}/include -I${LOCALBASE}/include
|
||
LIBS += -liconv
|
||
-I3_LDFLAGS += -L${X11BASE}/lib
|
||
+I3_LDFLAGS += -L${X11BASE}/lib -L${LOCALBASE}/lib
|
||
endif
|
||
|
||
ifeq ($(UNAME),FreeBSD)
|
||
LIBS += -liconv
|
||
-endif
|
||
-
|
||
-ifeq ($(UNAME),Darwin)
|
||
-LIBS += -liconv
|
||
-else
|
||
-# Darwin (Mac OS X) doesn’t have librt
|
||
-LIBS += -lrt
|
||
endif
|
||
|
||
ifneq (,$(filter Linux GNU GNU/%, $(UNAME)))
|