aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--news/nn/Makefile6
-rw-r--r--news/nn/files/patch-ai11
2 files changed, 15 insertions, 2 deletions
diff --git a/news/nn/Makefile b/news/nn/Makefile
index 463b0bab92b..6e94dc3b2eb 100644
--- a/news/nn/Makefile
+++ b/news/nn/Makefile
@@ -3,7 +3,7 @@
# Date created: 24 September 1994
# Whom: adam
#
-# $Id: Makefile,v 1.17 1998/12/10 17:24:32 vanilla Exp $
+# $Id: Makefile,v 1.18 1999/04/16 08:52:24 mharo Exp $
#
DISTNAME= nn-6.5.3
@@ -24,9 +24,11 @@ pre-patch:
pre-build:
@${CP} ${FILESDIR}/s-freebsd.h ${WRKSRC}/conf
+post-build:
+ [ -r ${PREFIX}/news/lib/inews ] || ( cd ${WRKSRC}/inews; ${MAKE} all )
+
pre-install:
${MKDIR} ${PREFIX}/news
- [ -r ${PREFIX}/news/lib/inews ] || ( cd ${WRKSRC}/inews; ${MAKE} all )
[ -r ${PREFIX}/news/lib/inews ] || ( cd ${WRKSRC}/inews; ${MAKE} install )
post-install:
diff --git a/news/nn/files/patch-ai b/news/nn/files/patch-ai
new file mode 100644
index 00000000000..57213860970
--- /dev/null
+++ b/news/nn/files/patch-ai
@@ -0,0 +1,11 @@
+--- inews/conf.h.orig Sun May 2 17:08:27 1999
++++ inews/conf.h Sun May 2 17:08:33 1999
+@@ -51,7 +51,7 @@
+ * define DOMAIN to be your FQDN.
+ */
+
+-/* #define DOMAIN "frobozz.com.bogus" */
++#define DOMAIN "frobozz.com.bogus"
+
+ /*
+ * If you define this, the hostname will not appear in the posting