summaryrefslogtreecommitdiffstats
path: root/x11-wm
diff options
context:
space:
mode:
authorsem <sem@FreeBSD.org>2004-12-29 22:58:29 +0000
committersem <sem@FreeBSD.org>2004-12-29 22:58:29 +0000
commit98fef7237c1b056a8d3749e2d4d16464c8285f26 (patch)
treef3d8b51d04d26f48cfc77d62a16c1dae43eebe8c /x11-wm
parentab86a9de4a29fbc4f7c43ec6952571b0e99c340a (diff)
downloadFreeBSD-ports-98fef7237c1b056a8d3749e2d4d16464c8285f26.zip
FreeBSD-ports-98fef7237c1b056a8d3749e2d4d16464c8285f26.tar.gz
- Fix recent python conflict
PR: ports/75437 Submitted by: maintainer
Diffstat (limited to 'x11-wm')
-rw-r--r--x11-wm/kahakai/Makefile10
-rw-r--r--x11-wm/kahakai/pkg-plist2
2 files changed, 11 insertions, 1 deletions
diff --git a/x11-wm/kahakai/Makefile b/x11-wm/kahakai/Makefile
index a5ca7cf..72aac72 100644
--- a/x11-wm/kahakai/Makefile
+++ b/x11-wm/kahakai/Makefile
@@ -7,7 +7,7 @@
PORTNAME= kahakai
PORTVERSION= 0.6.2
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= x11-wm
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -49,5 +49,13 @@ BROKEN= "Does not compile on alpha 4.x"
post-patch:
@${REINPLACE_CMD} -e 's|/tmp/ktest|${X11BASE}|' \
${WRKSRC}/data/styles/Default.kastyle.in
+ @${REINPLACE_CMD} -e 's|bool max|bool wmax|' \
+ ${WRKSRC}/src/Window.hh
+ @${REINPLACE_CMD} -e 's|flags.max|flags.wmax|g' \
+ ${WRKSRC}/src/*.cc
+
+pre-install:
+ @${REINPLACE_CMD} -e 's|^None|globals()["None"]|' \
+ ${WRKSRC}/src/kahakai.py
.include <bsd.port.post.mk>
diff --git a/x11-wm/kahakai/pkg-plist b/x11-wm/kahakai/pkg-plist
index 2b47f10..50f896a 100644
--- a/x11-wm/kahakai/pkg-plist
+++ b/x11-wm/kahakai/pkg-plist
@@ -27,6 +27,8 @@ share/kahakai/scripts/events.pyc
share/kahakai/scripts/events.pyo
share/kahakai/scripts/filelist.pl
share/kahakai/scripts/kahakai.py
+share/kahakai/scripts/kahakai.pyc
+share/kahakai/scripts/kahakai.pyo
share/kahakai/scripts/macros.py
share/kahakai/scripts/macros.pyc
share/kahakai/scripts/macros.pyo
OpenPOWER on IntegriCloud