aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgarga <garga@FreeBSD.org>2006-05-15 20:40:38 +0800
committergarga <garga@FreeBSD.org>2006-05-15 20:40:38 +0800
commit3efe36df2a2556371cdb457d82dfbd3419a55119 (patch)
tree0e413ed742d9c00c2074d8c7330fc1f12377fa68
parent8c633d2286a8de7453aafa23342e523eb4aa0c4a (diff)
downloadfreebsd-ports-gnome-3efe36df2a2556371cdb457d82dfbd3419a55119.tar.gz
freebsd-ports-gnome-3efe36df2a2556371cdb457d82dfbd3419a55119.tar.zst
freebsd-ports-gnome-3efe36df2a2556371cdb457d82dfbd3419a55119.zip
Fix build on 4.x
Submitted by: maintainer and author by email
-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"