aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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' \