1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-21 20:38:45 +00:00

Fix build on -current.

Submitted by:	naddy
This commit is contained in:
Munechika SUMIKAWA 2002-12-31 01:43:35 +00:00
parent ad3ffab8e2
commit 438a3f5420
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=71992
6 changed files with 32 additions and 2 deletions

View File

@ -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

View File

@ -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@

View File

@ -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 */

View File

@ -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

View File

@ -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@

View File

@ -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 */