aboutsummaryrefslogtreecommitdiff
path: root/x11-wm/blackbox
diff options
context:
space:
mode:
authorAlexey Dokuchaev <danfe@FreeBSD.org>2011-10-20 03:33:06 +0000
committerAlexey Dokuchaev <danfe@FreeBSD.org>2011-10-20 03:33:06 +0000
commitad31601f198c07c67ebb98e905846d7c0c9cd3f3 (patch)
tree31783a70db4c27da1a6789e032b608b120c588bc /x11-wm/blackbox
parent377a6d0752683956ad8598c53a98324fe129d621 (diff)
downloadports-ad31601f198c07c67ebb98e905846d7c0c9cd3f3.tar.gz
ports-ad31601f198c07c67ebb98e905846d7c0c9cd3f3.zip
Notes
Diffstat (limited to 'x11-wm/blackbox')
-rw-r--r--x11-wm/blackbox/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/x11-wm/blackbox/Makefile b/x11-wm/blackbox/Makefile
index ddf399596194..275e0e2024c1 100644
--- a/x11-wm/blackbox/Makefile
+++ b/x11-wm/blackbox/Makefile
@@ -16,8 +16,6 @@ COMMENT= A small and fast window manager for X11R6
LICENSE= MIT
-BROKEN= does not compile
-
GNU_CONFIGURE= yes
USE_ICONV= yes
USE_GNOME= gnomehack pkgconfig
@@ -40,6 +38,10 @@ MAN1+= blackbox.1
PORTDOCS+= AUTHORS COMPLIANCE ChangeLog README RELNOTES TODO
.endif
+post-patch:
+# Fix the build with libX11 > 1.40
+ @${REINPLACE_CMD} -e 's/_XUTIL_H_/_X11&/' ${WRKSRC}/lib/Util.hh
+
post-install:
.if defined(WITH_TOOLS_ONLY)
@${REINPLACE_CMD} -E '/[^s]\/blackbox|bstyleconvert|lib|include/d' \