diff options
author | Christian Weisgerber <naddy@FreeBSD.org> | 2002-12-18 22:00:44 +0000 |
---|---|---|
committer | Christian Weisgerber <naddy@FreeBSD.org> | 2002-12-18 22:00:44 +0000 |
commit | ec28692edbd415294b3f6aa71facd27b17d982a4 (patch) | |
tree | 679fd9b9cf575475b90d37dcf431b5f3bbbba6c0 /net/gopher | |
parent | Port needs perl to run and build -> USER_PERL5=yes (diff) |
Fix build on -CURRENT by tweaking #include order.
Notes
Notes:
svn path=/head/; revision=71716
Diffstat (limited to 'net/gopher')
-rw-r--r-- | net/gopher/Makefile | 8 | ||||
-rw-r--r-- | net/gopher/files/patch-object_Regex.c | 15 |
2 files changed, 16 insertions, 7 deletions
diff --git a/net/gopher/Makefile b/net/gopher/Makefile index b8420f4924f1..b872012bf437 100644 --- a/net/gopher/Makefile +++ b/net/gopher/Makefile @@ -21,14 +21,8 @@ MAN1= gopher.1 gophfilt.1 MAN5= gopherd.conf.5 gopherrc.5 MAN8= gopherd.8 gopherindex.8 -.include <bsd.port.pre.mk> - -.if ${OSVERSION} > 500000 -BROKEN= "Does not compile" -.endif - pre-patch: @${FIND} ${WRKSRC} -name '*.[ch]' | xargs ${REINPLACE_CMD} -e \ 's,<malloc.h>,<stdlib.h>,' -.include <bsd.port.post.mk> +.include <bsd.port.mk> diff --git a/net/gopher/files/patch-object_Regex.c b/net/gopher/files/patch-object_Regex.c new file mode 100644 index 000000000000..4226e1ef246a --- /dev/null +++ b/net/gopher/files/patch-object_Regex.c @@ -0,0 +1,15 @@ + +$FreeBSD$ + +--- object/Regex.c.orig Wed Dec 18 22:49:17 2002 ++++ object/Regex.c Wed Dec 18 22:49:29 2002 +@@ -51,8 +51,8 @@ + + #define REGEX_CODEIT /* only include sysv regex code once.. */ + #include "config.h" +-#include "Regex.h" + #include "Malloc.h" ++#include "Regex.h" + + /************************************************** + POSIX |