summaryrefslogtreecommitdiffstats
path: root/news/nntpcache
diff options
context:
space:
mode:
authorpetef <petef@FreeBSD.org>2001-11-10 11:04:58 +0000
committerpetef <petef@FreeBSD.org>2001-11-10 11:04:58 +0000
commit1332de7dbf3d5737095e2f2e05f846bd3bfb320a (patch)
treef2f6af105bc8fadf3c58ed6fc066b604ae5158f1 /news/nntpcache
parent653381108ccea0977ac6623c68c085dd861f4028 (diff)
downloadFreeBSD-ports-1332de7dbf3d5737095e2f2e05f846bd3bfb320a.zip
FreeBSD-ports-1332de7dbf3d5737095e2f2e05f846bd3bfb320a.tar.gz
- 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)
Diffstat (limited to 'news/nntpcache')
-rw-r--r--news/nntpcache/Makefile6
-rw-r--r--news/nntpcache/files/patch-src::authinfo_pam.c13
2 files changed, 18 insertions, 1 deletions
diff --git a/news/nntpcache/Makefile b/news/nntpcache/Makefile
index 642d058..b636af0 100644
--- a/news/nntpcache/Makefile
+++ b/news/nntpcache/Makefile
@@ -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 \
diff --git a/news/nntpcache/files/patch-src::authinfo_pam.c b/news/nntpcache/files/patch-src::authinfo_pam.c
new file mode 100644
index 0000000..6a64502
--- /dev/null
+++ b/news/nntpcache/files/patch-src::authinfo_pam.c
@@ -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.
OpenPOWER on IntegriCloud