mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-13 07:34:50 +00:00
Fix build on -STABLE
Reported by: Mike Harding
This commit is contained in:
parent
b83095a516
commit
9b44bfa244
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=98548
@ -20,6 +20,7 @@ LIB_DEPENDS= socket[+][+].1:${PORTSDIR}/net/libsocket++
|
||||
USE_AUTOHEADER= yes
|
||||
USE_AUTOMAKE_VER= 15
|
||||
USE_GETOPT_LONG= yes
|
||||
USE_REINPLACE= yes
|
||||
AUTOMAKE_ARGS= --add-missing
|
||||
CONFIGURE_ENV= CPPFLAGS="${CFLAGS} -I${LOCALBASE}/include" \
|
||||
LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib"
|
||||
@ -29,6 +30,7 @@ MAN8= newscache.8 newscacheclean.8 updatenews.8
|
||||
INFO= NewsCache
|
||||
|
||||
post-patch:
|
||||
${REINPLACE_CMD} -e "s,-pedantic,," ${WRKSRC}/configure.in
|
||||
cd ${WRKSRC}; ${ACLOCAL}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
12
news/newscache/files/patch-NewsCache.cc
Normal file
12
news/newscache/files/patch-NewsCache.cc
Normal file
@ -0,0 +1,12 @@
|
||||
--- src/NewsCache.cc.orig Mon Jan 19 13:52:04 2004
|
||||
+++ src/NewsCache.cc Mon Jan 19 13:52:55 2004
|
||||
@@ -24,7 +24,9 @@
|
||||
*/
|
||||
#include "config.h"
|
||||
|
||||
+#ifndef __FreeBSD__
|
||||
#include <crypt.h>
|
||||
+#endif
|
||||
#include <ctype.h>
|
||||
#include <unistd.h>
|
||||
#include <string.h>
|
Loading…
Reference in New Issue
Block a user