summaryrefslogtreecommitdiff
path: root/x11-wm
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2004-05-31 11:45:43 +0000
committerPav Lucistnik <pav@FreeBSD.org>2004-05-31 11:45:43 +0000
commit57136f7773d883dd645a4aa6a336a9f26cf0ff1a (patch)
tree79909bc3ea290c940381d052b6d2c0f2ea07205e /x11-wm
parentInstall on install phases and unmark BROKEN. (diff)
- Unbreak on FreeBSD 5.x
PR: ports/67400 Submitted by: Andrey Slusar <vasallia@ukr.net>
Notes
Notes: svn path=/head/; revision=110509
Diffstat (limited to 'x11-wm')
-rw-r--r--x11-wm/hackedbox/Makefile10
-rw-r--r--x11-wm/hackedbox/files/patch-src-Window.cc10
2 files changed, 12 insertions, 8 deletions
diff --git a/x11-wm/hackedbox/Makefile b/x11-wm/hackedbox/Makefile
index 86fde9e9091e..793246d2628f 100644
--- a/x11-wm/hackedbox/Makefile
+++ b/x11-wm/hackedbox/Makefile
@@ -28,13 +28,7 @@ USE_X_PREFIX= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --enable-bg-utils
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} >= 500113
-BROKEN= "Does not compile on FreeBSD ${OSVERSION}"
-.endif
-
-do-patch:
+pre-patch:
${REINPLACE_CMD} -e \
"s:/usr/local/share/hackedbox:${PREFIX}/share/hackedbox:g" \
${WRKSRC}/data/menu.in
@@ -97,4 +91,4 @@ do-install:
.endfor
.endif
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/x11-wm/hackedbox/files/patch-src-Window.cc b/x11-wm/hackedbox/files/patch-src-Window.cc
new file mode 100644
index 000000000000..cdbf936a1ab7
--- /dev/null
+++ b/x11-wm/hackedbox/files/patch-src-Window.cc
@@ -0,0 +1,10 @@
+--- src/Window.cc.orig Tue Aug 27 01:28:07 2002
++++ src/Window.cc Mon May 31 13:34:45 2004
+@@ -44,6 +44,7 @@
+ #endif // HAVE_STDLIB_H
+ }
+
++#include <cassert>
+ #include "i18n.hh"
+ #include "blackbox.hh"
+ #include "GCCache.hh"