mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-23 04:23:08 +00:00
- fix compilation of pam stuff in authinfo_pam.c
PR: 30758 - remove commented out pgp depend - add automake depend to automake14 (there should have been a USE_AUTOMAKE in the first place, but this doesn't play nice with automake 1.5)
This commit is contained in:
parent
c144bdadd9
commit
043a29805c
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=49911
@ -14,7 +14,7 @@ MASTER_SITES= ftp://nntpcache.org/pub/nntpcache/ \
|
||||
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
|
||||
#BUILD_DEPENDS= pgp:${PORTSDIR}/security/pgp
|
||||
BUILD_DEPENDS= automake14:${PORTSDIR}/devel/automake14
|
||||
|
||||
# This may be set interactively at install-time. NNTPCache will
|
||||
# cache news articles and related data in ${SPOOLDIR}/nntpcache.
|
||||
@ -31,6 +31,10 @@ MAN8= nntpcached.8 newshound.8
|
||||
DOCS= AUTHORS ChangeLog FAQ FAQ.html HACKING HTML \
|
||||
INSTALL LICENSING NEWS README README.INN VERSION
|
||||
|
||||
post-patch:
|
||||
@${PERL} -pi -e 's,AUTOMAKE=automake,AUTOMAKE=automake14,' \
|
||||
${WRKSRC}/configure
|
||||
|
||||
post-install:
|
||||
@ ${MKDIR} ${PREFIX}/etc/rc.d
|
||||
@ ${SED} -e 's#%%PREFIX%%#${PREFIX}#g' ${FILESDIR}/nntpcached.rc \
|
||||
|
13
news/nntpcache/files/patch-src::authinfo_pam.c
Normal file
13
news/nntpcache/files/patch-src::authinfo_pam.c
Normal file
@ -0,0 +1,13 @@
|
||||
$FreeBSD$
|
||||
|
||||
--- src/authinfo_pam.c.orig Sat Nov 10 05:52:17 2001
|
||||
+++ src/authinfo_pam.c Sat Nov 10 05:51:29 2001
|
||||
@@ -15,7 +15,7 @@
|
||||
#include "authinfo_pam.h"
|
||||
|
||||
#include <security/pam_appl.h>
|
||||
-#include <security/pam_misc.h>
|
||||
+/* #include <security/pam_misc.h> */
|
||||
|
||||
/*
|
||||
* pam authenticator.
|
Loading…
Reference in New Issue
Block a user