openbsd-ports/x11/i3bar/patches/patch-common_mk
dcoppa 526c63cf6b Import x11/i3bar.
i3bar is a xcb and libev based status and workspace bar for the
i3 window manager. It is best thought of as a replacement for the
i3-wsbar + dzen2 combination. It creates a workspace bar for every
active screen and displays a piped-in statusline rightaligned on
every bar.
It does not sample any status information itself, so you still need
a program like conky for that.

OK jasper@
2011-04-20 08:57:54 +00:00

37 lines
694 B
Plaintext

$OpenBSD: patch-common_mk,v 1.1.1.1 2011/04/20 08:57:54 dcoppa Exp $
--- common.mk.orig Tue Apr 12 09:47:54 2011
+++ common.mk Tue Apr 12 09:50:02 2011
@@ -1,25 +1,17 @@
INSTALL=install
-DEBUG=1
-PREFIX=/usr
-CFLAGS += -Wall
-CFLAGS += -pipe
-CFLAGS += -Iinclude
-CFLAGS += -g
+ifndef PREFIX
+ PREFIX=/usr
+endif
+
+CFLAGS += -Iinclude -I${X11BASE}/include -I${LOCALBASE}/include
CFLAGS += -DI3BAR_VERSION=\"0.6.21\"
LDFLAGS += -lev
LDFLAGS += -lyajl
LDFLAGS += -lxcb
LDFLAGS += -lX11
-LDFLAGS += -L/usr/local/lib
-
-ifeq ($(DEBUG),1)
-CFLAGS += -g3
-else
-CFLAGS += -O2
-endif
-
-.SILENT:
+LDFLAGS += -liconv
+LDFLAGS += -L${X11BASE}/lib -L${LOCALBASE}/lib
.PHONY: install clean