summaryrefslogtreecommitdiff
path: root/desktop/wmii/wmii-3.6-config_mk.diff
diff options
context:
space:
mode:
authorAntonio Hernández Blas <hba.nihilismus@gmail.com>2010-05-13 00:23:28 +0200
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-13 00:23:28 +0200
commit821a7ad35c312be274e3dca3316e1cb8f8d42789 (patch)
treefbfa54a29124194a38167964ff6e541db1c24abf /desktop/wmii/wmii-3.6-config_mk.diff
parentb1458525dcc4ce8c9310ef8ad84a3e5c04431215 (diff)
downloadslackbuilds-821a7ad35c312be274e3dca3316e1cb8f8d42789.tar.gz
desktop/wmii: Updated for version 3.6
Diffstat (limited to 'desktop/wmii/wmii-3.6-config_mk.diff')
-rw-r--r--desktop/wmii/wmii-3.6-config_mk.diff29
1 files changed, 29 insertions, 0 deletions
diff --git a/desktop/wmii/wmii-3.6-config_mk.diff b/desktop/wmii/wmii-3.6-config_mk.diff
new file mode 100644
index 0000000000..81d0225ad0
--- /dev/null
+++ b/desktop/wmii/wmii-3.6-config_mk.diff
@@ -0,0 +1,29 @@
+diff -Nur wmii-3.6.orig/config.mk wmii-3.6/config.mk
+--- wmii-3.6.orig/config.mk 2007-11-16 07:59:15.000000000 -0600
++++ wmii-3.6/config.mk 2009-08-03 01:14:13.179886673 -0500
+@@ -10,11 +10,12 @@
+
+ # Includes and libs
+ INCPATH = .:${ROOT}/include:${INCLUDE}:/usr/include
+-LIBS = -L/usr/lib -lc -L${ROOT}/lib
++LIBS = -L${LIBDIR} -lc -L${ROOT}/lib
+
+ # Flags
+ include ${ROOT}/mk/gcc.mk
+-CFLAGS += -g -O0 -DIXPlint
++OPT ?= -O0
++CFLAGS += -g ${OPT} -DIXPlint
+ LDFLAGS += -g ${LIBS}
+ STATIC = -static
+ MKDEP = cpp -M
+@@ -29,8 +30,8 @@
+ AWKPATH = $$(which awk)
+ P9PATHS = ${PLAN9}:"'$${HOME}/plan9'":/usr/local/plan9:/usr/local/9:/opt/plan9:/opt/9:/usr/plan9:/usr/9
+
+-INCX11 = -I/usr/X11R6/include
+-LIBX11 = -L/usr/X11R6/lib -lX11
++INCX11 = -I${PREFIX}include
++LIBX11 = -L${LIBDIR}/X11 -lX11
+ LIBICONV = # Leave blank if your libc includes iconv (glibc does)
+ LIBIXP = ${ROOT}/libixp/libixp.a
+ LIBIXP = ${LIBDIR}/libixp.a