aboutsummaryrefslogtreecommitdiffstats
path: root/news
diff options
context:
space:
mode:
authormharo <mharo@FreeBSD.org>1999-05-03 08:13:19 +0800
committermharo <mharo@FreeBSD.org>1999-05-03 08:13:19 +0800
commit37379d235c8668d374d4fda4af6647a62c4a1e13 (patch)
tree62fcfca747d5b7f18ade1db4e57a5d590ebd917f /news
parentae8b037197c0105a4f4f2c39a8edc655d4abfa2f (diff)
downloadfreebsd-ports-gnome-37379d235c8668d374d4fda4af6647a62c4a1e13.tar.gz
freebsd-ports-gnome-37379d235c8668d374d4fda4af6647a62c4a1e13.tar.zst
freebsd-ports-gnome-37379d235c8668d374d4fda4af6647a62c4a1e13.zip
fix port so it builds
Diffstat (limited to 'news')
-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 463b0bab92bd..6e94dc3b2eb0 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 000000000000..57213860970d
--- /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