openbsd-ports/x11/wmii/patches/patch-config_mk
2009-05-31 16:24:23 +00:00

43 lines
1.1 KiB
Plaintext

$OpenBSD: patch-config_mk,v 1.4 2009/05/31 16:24:23 sthen Exp $
--- config.mk.orig Fri Nov 16 13:59:15 2007
+++ config.mk Sun May 31 17:21:19 2009
@@ -1,10 +1,10 @@
# Customize below to fit your system
# paths
-PREFIX = /usr/local
+#PREFIX = /usr/local
BIN = ${PREFIX}/bin
-MAN = ${PREFIX}/share/man
-ETC = ${PREFIX}/etc
+MAN = ${PREFIX}/man
+ETC = ${PREFIX}/share/examples/
LIBDIR = ${PREFIX}/lib
INCLUDE = ${PREFIX}/include
@@ -14,8 +14,10 @@ LIBS = -L/usr/lib -lc -L${ROOT}/lib
# Flags
include ${ROOT}/mk/gcc.mk
-CFLAGS += -g -O0 -DIXPlint
-LDFLAGS += -g ${LIBS}
+#CFLAGS += -g -O0 -DIXPlint
+CFLAGS += -DIXPlint
+#LDFLAGS += -g ${LIBS}
+LDFLAGS += ${LIBS}
STATIC = -static
MKDEP = cpp -M
@@ -31,9 +33,8 @@ P9PATHS = ${PLAN9}:"'$${HOME}/plan9'":/usr/local/plan9
INCX11 = -I/usr/X11R6/include
LIBX11 = -L/usr/X11R6/lib -lX11
-LIBICONV = # Leave blank if your libc includes iconv (glibc does)
-LIBIXP = ${ROOT}/libixp/libixp.a
-LIBIXP = ${LIBDIR}/libixp.a
+LIBICONV = /usr/local/lib/libiconv.a
+LIBIXP = /usr/local/lib/libixp.a
# Solaris
#CFLAGS = -fast ${INCS} -DVERSION=\"${VERSION}\"