summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
Diffstat (limited to 'security')
-rw-r--r--security/libprelude/Makefile4
-rw-r--r--security/libprelude/files/patch-src_include_libmissing.h12
2 files changed, 12 insertions, 4 deletions
diff --git a/security/libprelude/Makefile b/security/libprelude/Makefile
index f9feab5bc125..772100209009 100644
--- a/security/libprelude/Makefile
+++ b/security/libprelude/Makefile
@@ -45,10 +45,6 @@ CONFIGURE_ARGS+= --with-html-dir=${PREFIX}/share/doc
.include <bsd.port.pre.mk>
-.if ${OSVERSION} < 500000
-BROKEN= Doesn't build on FreeBSD < 5.x
-.endif
-
post-install:
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/docs/api/html/* ${DOCSDIR}
diff --git a/security/libprelude/files/patch-src_include_libmissing.h b/security/libprelude/files/patch-src_include_libmissing.h
new file mode 100644
index 000000000000..f676366f61c0
--- /dev/null
+++ b/security/libprelude/files/patch-src_include_libmissing.h
@@ -0,0 +1,12 @@
+--- src/include/libmissing.h.orig Mon May 15 09:10:13 2006
++++ src/include/libmissing.h Mon May 15 09:09:54 2006
+@@ -35,8 +35,8 @@
+ #include <stdbool.h>
+ #include <stdlib.h>
+ #include <string.h>
+-#include <sys/socket.h>
+ #include <sys/types.h>
++#include <sys/socket.h>
+ #include <time.h>
+ #include "ftw_.h"
+ #include "getaddrinfo.h"