aboutsummaryrefslogtreecommitdiffstats
path: root/www/middleman
diff options
context:
space:
mode:
Diffstat (limited to 'www/middleman')
-rw-r--r--www/middleman/Makefile4
-rw-r--r--www/middleman/files/patch-include-types.h11
2 files changed, 11 insertions, 4 deletions
diff --git a/www/middleman/Makefile b/www/middleman/Makefile
index 208720a83aea..d7c2dba3ee88 100644
--- a/www/middleman/Makefile
+++ b/www/middleman/Makefile
@@ -43,10 +43,6 @@ PLIST_SUB+= MMAN_CACHE=${MMAN_CACHE}
.include <bsd.port.pre.mk>
-.if ${OSVERSION} >= 700000
-BROKEN= "Does not compile on FreeBSD >= 7.0"
-.endif
-
post-patch:
@${REINPLACE_CMD} -e \
's|/usr/bin/mman|${PREFIX}/bin/mman|g ; \
diff --git a/www/middleman/files/patch-include-types.h b/www/middleman/files/patch-include-types.h
new file mode 100644
index 000000000000..9cf7c7c71241
--- /dev/null
+++ b/www/middleman/files/patch-include-types.h
@@ -0,0 +1,11 @@
+--- include/types.h.orig Sat Nov 5 19:51:41 2005
++++ include/types.h Sat Nov 5 19:51:54 2005
+@@ -1,6 +1,8 @@
+ #ifndef TYPES_H
+ #define TYPES_H
+
++#include <sys/types.h>
++
+ struct unlink_list {
+ struct unlink_list *next;
+ char *path;