summaryrefslogtreecommitdiff
path: root/dns
diff options
context:
space:
mode:
authorMunechika SUMIKAWA <sumikawa@FreeBSD.org>2002-12-31 01:43:35 +0000
committerMunechika SUMIKAWA <sumikawa@FreeBSD.org>2002-12-31 01:43:35 +0000
commit438a3f5420e0e42cc21881420574ab19f32d9e48 (patch)
treecfd17c66b5852c84e4109a5e4553616903c813ab /dns
parentFix port so it can actually compile and link programs. (diff)
Fix build on -current.
Submitted by: naddy
Notes
Notes: svn path=/head/; revision=71992
Diffstat (limited to 'dns')
-rw-r--r--dns/geta/Makefile2
-rw-r--r--dns/geta/files/patch-Makefile.in2
-rw-r--r--dns/geta/files/patch-geta_geta.c13
3 files changed, 16 insertions, 1 deletions
diff --git a/dns/geta/Makefile b/dns/geta/Makefile
index 447ad6ceb3ee..5da5fdb2c725 100644
--- a/dns/geta/Makefile
+++ b/dns/geta/Makefile
@@ -7,6 +7,7 @@
PORTNAME= geta
PORTVERSION= 19990419
+PORTREVISION= 1
CATEGORIES= net
MASTER_SITES= ftp://ftp.kame.net/pub/kame/misc/
DISTNAME= pping-${PORTVERSION}
@@ -15,6 +16,7 @@ MAINTAINER= sumikawa@FreeBSD.org
WRKSRC= ${WRKDIR}/pping
GNU_CONFIGURE= yes
+USE_PERL5_BUILD=yes
NO_INSTALL_MANPAGES= yes
diff --git a/dns/geta/files/patch-Makefile.in b/dns/geta/files/patch-Makefile.in
index 010c882a5113..7c6ad24cea46 100644
--- a/dns/geta/files/patch-Makefile.in
+++ b/dns/geta/files/patch-Makefile.in
@@ -4,7 +4,7 @@
CC = cc
-CFLAGS = -O -L/usr/local/v6/lib -Wall
-LIBS = -linet6
-+CFLAGS += -O -Wall
++CFLAGS += -Wall
+#LIBS = -linet6
INSTALL = @INSTALL@
diff --git a/dns/geta/files/patch-geta_geta.c b/dns/geta/files/patch-geta_geta.c
new file mode 100644
index 000000000000..3d9693c088dd
--- /dev/null
+++ b/dns/geta/files/patch-geta_geta.c
@@ -0,0 +1,13 @@
+
+$FreeBSD$
+
+--- geta/geta.c.orig Wed Dec 18 02:18:00 2002
++++ geta/geta.c Wed Dec 18 02:18:16 2002
+@@ -7,6 +7,7 @@
+ #include <stdio.h>
+ #include <stdlib.h>
+ #include <string.h>
++#include <unistd.h>
+
+ char *progname;
+ int errors = 0; /* number of errors */