summaryrefslogtreecommitdiff
path: root/wm/wmii/Makefile
diff options
context:
space:
mode:
authorobache <obache@pkgsrc.org>2007-01-13 02:30:41 +0000
committerobache <obache@pkgsrc.org>2007-01-13 02:30:41 +0000
commitb71b9dcb9530862d09d2c08f1e93a42a3eb4bd8e (patch)
tree937e20b5e3375ae42a0b82473dae1bff71b01b21 /wm/wmii/Makefile
parent2ade927b563c4b4e86b4131caeebacdb924b9c67 (diff)
downloadpkgsrc-b71b9dcb9530862d09d2c08f1e93a42a3eb4bd8e.tar.gz
Fix link problem. Pointed out in PR 35415.
Bump PKGREVISION.
Diffstat (limited to 'wm/wmii/Makefile')
-rw-r--r--wm/wmii/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/wm/wmii/Makefile b/wm/wmii/Makefile
index ac92ba7f550..ef82dbb10b0 100644
--- a/wm/wmii/Makefile
+++ b/wm/wmii/Makefile
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.11 2006/10/22 13:02:57 obache Exp $
+# $NetBSD: Makefile,v 1.12 2007/01/13 02:30:41 obache Exp $
#
DISTNAME= wmii-2.5.2
+PKGREVISION= 1
CATEGORIES= wm x11
MASTER_SITES= http://suckless.org/download/
@@ -25,7 +26,7 @@ SUBST_STAGE.pfx = post-patch
SUBST_FILES.pfx = config.mk
SUBST_SED.pfx = -e s,/usr/local,${PREFIX},g
SUBST_SED.pfx+= -e 's|/usr/X11R6|${X11BASE}|g'
-SUBST_SED.pfx+= -e 's|/usr/X11R6|${X11BASE}|g'
+SUBST_SED.pfx+= -e 's|-L$${X11LIB}|${X11_LDFLAGS}|g'
SUBST_SED.pfx+= -e 's|CFLAGS = -O0 -g -Wall|CFLAGS+=|g'
SUBST_SED.pfx+= -e 's|-g||g'
SUBST_SED.pfx+= -e 's|/9||g'