1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-24 00:45:52 +00:00

Make net/cap compiling again

PR:		ports/44879
Submitted by:	Volker Stolz <stolz@i2.informatik.rwth-aachen.de>
This commit is contained in:
Edwin Groothuis 2002-11-24 10:55:50 +00:00
parent f25385c4ed
commit 2359546dd7
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=70993
4 changed files with 18 additions and 1 deletions

View File

@ -31,6 +31,8 @@ DIST_SUBDIR= cap60
ALL_TARGET= libsmade dummy-libinstall programs
INSTALL_TARGET= include libinstall install
USE_REINPLACE= YES
MAN1= AUFS.1 ash.1 atlook.1 atprint.1 cvt2apple.1 getzones.1 \
instappl.1 snitch.1
MAN3= CAP.3
@ -57,6 +59,8 @@ READMES= applications/papif applications/lwsrv applications/aufs \
pre-patch:
@(cd ${WRKSRC}; \
for f in ../cap60.patch* ; do ${PATCH} -s -p < $$f ; done)
post-patch:
${FIND} ${WRKSRC} -name Makefile.m4 -exec ${REINPLACE_CMD} -e 's/CFLAGS=/CFLAGS+=/' \{\} \;
pre-install:
@${RM} -f ${WRKSRC}/libinstall

View File

@ -537,7 +537,7 @@ syscmd(rm -f datestring())
MFLAGS=mflags()
LFLAGS=lflags()
CC=thecompiler()
CC?=thecompiler()
LD=theloader()
SHELL=/bin/sh
INSTALLER=theinstaller()

View File

@ -0,0 +1,11 @@
--- lib/cap/ablog.c.foo Mon Nov 4 16:43:02 2002
+++ lib/cap/ablog.c Mon Nov 4 16:43:11 2002
@@ -91,7 +91,7 @@
#endif USEVPRINTF
int saveerr;
extern int errno;
- extern int sys_nerr;
+ extern __const int sys_nerr;
#ifndef __FreeBSD__
extern char *sys_errlist[];
#endif

View File

@ -19,3 +19,5 @@ Note: Files are installed into following locations:
/usr/local/etc/cap: Sample configuration files.
/usr/local/lib/cap: More sample configuration files.
/usr/local/share/doc/cap: Relevant documentation.
WWW: http://www.cs.mu.oz.au/appletalk/cap.html