mirror of
https://git.FreeBSD.org/ports.git
synced 2025-02-01 10:59:55 +00:00
- Fix build on 4.x
PR: ports/83660 Submitted by: Andrej Zverev <az@inec.ru>
This commit is contained in:
parent
c149369e83
commit
580f0b6812
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=140501
@ -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
|
||||
|
||||
|
10
www/monkey/files/patch-src-user.c
Normal file
10
www/monkey/files/patch-src-user.c
Normal file
@ -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"
|
Loading…
Reference in New Issue
Block a user