summaryrefslogtreecommitdiffstats
path: root/net/geta
diff options
context:
space:
mode:
authorsumikawa <sumikawa@FreeBSD.org>2002-12-31 01:43:35 +0000
committersumikawa <sumikawa@FreeBSD.org>2002-12-31 01:43:35 +0000
commit0e8a38cff8c83324b138c404146c8c26cf51c49d (patch)
tree8a541edb2623e38296e7ff1371d1402d495e3115 /net/geta
parent6cd530b7e640ddcabe631aecdc70d1cc378b9bf0 (diff)
downloadFreeBSD-ports-0e8a38cff8c83324b138c404146c8c26cf51c49d.zip
FreeBSD-ports-0e8a38cff8c83324b138c404146c8c26cf51c49d.tar.gz
Fix build on -current.
Submitted by: naddy
Diffstat (limited to 'net/geta')
-rw-r--r--net/geta/Makefile2
-rw-r--r--net/geta/files/patch-Makefile.in2
-rw-r--r--net/geta/files/patch-geta_geta.c13
3 files changed, 16 insertions, 1 deletions
diff --git a/net/geta/Makefile b/net/geta/Makefile
index 447ad6c..5da5fdb 100644
--- a/net/geta/Makefile
+++ b/net/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/net/geta/files/patch-Makefile.in b/net/geta/files/patch-Makefile.in
index 010c882..7c6ad24 100644
--- a/net/geta/files/patch-Makefile.in
+++ b/net/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/net/geta/files/patch-geta_geta.c b/net/geta/files/patch-geta_geta.c
new file mode 100644
index 0000000..3d9693c
--- /dev/null
+++ b/net/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 */
OpenPOWER on IntegriCloud