don't hardcode /usr/local, don't hide cc flags, don't hardcode CFLAGS
additions, regen PLIST+bump.
This commit is contained in:
parent
fbf60a43ba
commit
c0c5895511
@ -1,9 +1,9 @@
|
||||
# $OpenBSD: Makefile,v 1.12 2009/05/18 23:25:57 jim Exp $
|
||||
# $OpenBSD: Makefile,v 1.13 2009/05/31 16:24:23 sthen Exp $
|
||||
|
||||
COMMENT= dynamic window manager
|
||||
|
||||
DISTNAME= wmii-3.6
|
||||
PKGNAME= ${DISTNAME}p3
|
||||
PKGNAME= ${DISTNAME}p4
|
||||
CATEGORIES= x11
|
||||
|
||||
HOMEPAGE= http://wmii.suckless.org/
|
||||
@ -27,7 +27,8 @@ USE_X11= Yes
|
||||
|
||||
NO_REGRESS= Yes
|
||||
|
||||
FAKE_FLAGS= PREFIX=${WRKINST}/usr/local \
|
||||
MAN=${WRKINST}/usr/local/man
|
||||
MAKE_FLAGS= noisycc=1
|
||||
FAKE_FLAGS= PREFIX=${WRKINST}${LOCALBASE} \
|
||||
MAN=${WRKINST}${LOCALBASE}/man
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,6 +1,6 @@
|
||||
$OpenBSD: patch-config_mk,v 1.3 2008/03/15 12:52:50 mcbride Exp $
|
||||
--- config.mk.orig Fri Nov 16 06:59:15 2007
|
||||
+++ config.mk Tue Feb 19 03:56:08 2008
|
||||
$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
|
||||
|
||||
@ -15,7 +15,20 @@ $OpenBSD: patch-config_mk,v 1.3 2008/03/15 12:52:50 mcbride Exp $
|
||||
LIBDIR = ${PREFIX}/lib
|
||||
INCLUDE = ${PREFIX}/include
|
||||
|
||||
@@ -31,9 +31,8 @@ P9PATHS = ${PLAN9}:"'$${HOME}/plan9'":/usr/local/plan9
|
||||
@@ -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
|
||||
|
@ -1,9 +1,9 @@
|
||||
@comment $OpenBSD: PLIST,v 1.2 2008/03/15 12:52:50 mcbride Exp $
|
||||
bin/wmii
|
||||
bin/wmii9menu
|
||||
@comment $OpenBSD: PLIST,v 1.3 2009/05/31 16:24:23 sthen Exp $
|
||||
@bin bin/wmii
|
||||
@bin bin/wmii9menu
|
||||
bin/wmii9rc
|
||||
bin/wmiiloop
|
||||
bin/wmiir
|
||||
@bin bin/wmiir
|
||||
bin/wmiistartrc
|
||||
@man man/man1/wmii.1
|
||||
@man man/man1/wmiiloop.1
|
||||
|
Loading…
Reference in New Issue
Block a user