aboutsummaryrefslogtreecommitdiff
path: root/www/monkey
diff options
context:
space:
mode:
authorClement Laforet <clement@FreeBSD.org>2005-07-30 21:56:44 +0000
committerClement Laforet <clement@FreeBSD.org>2005-07-30 21:56:44 +0000
commit580f0b681254106fbd882363fa2ff0fb293706fe (patch)
treeba618aecc1b883697ff380a2f0558376096b2730 /www/monkey
parentc149369e83e71c2c41b4b8a7e42d3523b1197caf (diff)
downloadports-580f0b681254106fbd882363fa2ff0fb293706fe.tar.gz
ports-580f0b681254106fbd882363fa2ff0fb293706fe.zip
Notes
Diffstat (limited to 'www/monkey')
-rw-r--r--www/monkey/Makefile4
-rw-r--r--www/monkey/files/patch-src-user.c10
2 files changed, 10 insertions, 4 deletions
diff --git a/www/monkey/Makefile b/www/monkey/Makefile
index 2acf706dc625..e4482dd60842 100644
--- a/www/monkey/Makefile
+++ b/www/monkey/Makefile
@@ -31,10 +31,6 @@ LDFLAGS+= -L${LOCALBASE}/lib
.include <bsd.port.pre.mk>
-.if ${OSVERSION} < 500000
-BROKEN= "Does not compile on FreeBSD 4.x"
-.endif
-
post-install:
@${INSTALL_SCRIPT} ${FILESDIR}/monkey.sh ${PREFIX}/etc/rc.d/monkey.sh.sample
diff --git a/www/monkey/files/patch-src-user.c b/www/monkey/files/patch-src-user.c
new file mode 100644
index 000000000000..ee4e5a28cece
--- /dev/null
+++ b/www/monkey/files/patch-src-user.c
@@ -0,0 +1,10 @@
+--- src/user.c.orig Wed Apr 13 19:50:37 2005
++++ src/user.c Mon Jul 18 14:55:59 2005
+@@ -23,6 +23,7 @@
+ #include <pwd.h>
+ #include <sys/types.h>
+ #include <unistd.h>
++#include <sys/time.h>
+ #include <sys/resource.h>
+
+ #include "monkey.h"