aboutsummaryrefslogtreecommitdiffstats
path: root/dns
diff options
context:
space:
mode:
authorsumikawa <sumikawa@FreeBSD.org>2002-12-31 09:43:35 +0800
committersumikawa <sumikawa@FreeBSD.org>2002-12-31 09:43:35 +0800
commit0e8a38cff8c83324b138c404146c8c26cf51c49d (patch)
tree8a541edb2623e38296e7ff1371d1402d495e3115 /dns
parent6cd530b7e640ddcabe631aecdc70d1cc378b9bf0 (diff)
downloadfreebsd-ports-graphics-0e8a38cff8c83324b138c404146c8c26cf51c49d.tar.gz
freebsd-ports-graphics-0e8a38cff8c83324b138c404146c8c26cf51c49d.tar.zst
freebsd-ports-graphics-0e8a38cff8c83324b138c404146c8c26cf51c49d.zip
Fix build on -current.
Submitted by: naddy
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 447ad6ceb3e..5da5fdb2c72 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 010c882a511..7c6ad24cea4 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 00000000000..3d9693c088d
--- /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 */