mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-21 20:38:45 +00:00
Fix an apparent typo, and unbreak this port.
Reported by: kris Approved by: portmgr (krion), fjoe (mentor, implicit), maintainer
This commit is contained in:
parent
493ec5f9a1
commit
9f95d51df8
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=118514
@ -19,12 +19,6 @@ GNU_CONFIGURE= yes
|
||||
USE_GMAKE= yes
|
||||
USE_AUTOCONF_VER= 213
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OSVERSION} >= 502126
|
||||
BROKEN= "Does not compile on FreeBSD >= 5.x"
|
||||
.endif
|
||||
|
||||
do-install:
|
||||
@${INSTALL_PROGRAM} -o root -g wheel -m 0755 ${WRKSRC}/twhttpd ${PREFIX}/sbin/twhttpd
|
||||
@${INSTALL} -o root -g wheel -m 0755 ${WRKSRC}/rm_cache ${PREFIX}/sbin/rm_cache
|
||||
@ -32,4 +26,5 @@ do-install:
|
||||
|
||||
post-install:
|
||||
@${CAT} ${PKGMESSAGE}
|
||||
.include <bsd.port.post.mk>
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -9,3 +9,12 @@
|
||||
#include <netinet/in.h>
|
||||
#include <sys/socket.h>
|
||||
#include <sys/types.h>
|
||||
@@ -3882,7 +3882,7 @@
|
||||
lz_flush(hd->fd, &hd->fd_lzb);
|
||||
}
|
||||
syslog(LOG_ERR, "Exiting Testing Server\n");
|
||||
- exit;
|
||||
+ exit(0);
|
||||
}
|
||||
|
||||
//////////////////////////////////////////////////////////////////////
|
||||
|
Loading…
Reference in New Issue
Block a user