diff options
author | danfe <danfe@FreeBSD.org> | 2011-10-20 11:33:06 +0800 |
---|---|---|
committer | danfe <danfe@FreeBSD.org> | 2011-10-20 11:33:06 +0800 |
commit | a51e39b2312afb122bed1362ecf0775022fd6386 (patch) | |
tree | b7fc7434a94d3c58ab0e2dc471d901845076d9b9 /x11-wm/blackbox | |
parent | b4e91fcce43dd38a4ffbe1b68a2b13dc1182703d (diff) | |
download | freebsd-ports-gnome-a51e39b2312afb122bed1362ecf0775022fd6386.tar.gz freebsd-ports-gnome-a51e39b2312afb122bed1362ecf0775022fd6386.tar.zst freebsd-ports-gnome-a51e39b2312afb122bed1362ecf0775022fd6386.zip |
Fix the build with libX11 > 1.40.
Diffstat (limited to 'x11-wm/blackbox')
-rw-r--r-- | x11-wm/blackbox/Makefile | 6 |
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' \ |