summaryrefslogtreecommitdiff
path: root/comms
diff options
context:
space:
mode:
authortv <tv@pkgsrc.org>2001-02-24 20:43:55 +0000
committertv <tv@pkgsrc.org>2001-02-24 20:43:55 +0000
commite6985409dc4038ade0970c37190b3ba0481c46b1 (patch)
tree26f672d6f18e625c205de98a5ddfbe8e82366b5e /comms
parent09ae1f14ef47d2e4eced90c57032372e1632a658 (diff)
downloadpkgsrc-e6985409dc4038ade0970c37190b3ba0481c46b1.tar.gz
Run man pages through tbl(1) before installing.
Don't try to create a Berkeley DB file with fopen(); let DB create it.
Diffstat (limited to 'comms')
-rw-r--r--comms/ifcico-cm/Makefile6
-rw-r--r--comms/ifcico-cm/files/patch-sum3
-rw-r--r--comms/ifcico-cm/patches/patch-ax20
3 files changed, 26 insertions, 3 deletions
diff --git a/comms/ifcico-cm/Makefile b/comms/ifcico-cm/Makefile
index d43be18f52b..40005cf7b85 100644
--- a/comms/ifcico-cm/Makefile
+++ b/comms/ifcico-cm/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2001/02/21 18:50:36 tv Exp $
+# $NetBSD: Makefile,v 1.6 2001/02/24 20:43:55 tv Exp $
#
DISTNAME= ifcico-3.0.cm.alpha-4.1
@@ -18,6 +18,8 @@ post-build:
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/etc/ifcico
${INSTALL_DATA} ${WRKDIR}/config* ${PREFIX}/etc/ifcico/
- cd ${WRKSRC}/ifcico && ${INSTALL_MAN} *.8 ${PREFIX}/man/man8/
+ cd ${WRKSRC}/ifcico && for f in *.8; do \
+ tbl <$$f >$$f.t && ${INSTALL_DATA} $$f.t ${PREFIX}/man/man8/$$f; \
+ done
.include "../../mk/bsd.pkg.mk"
diff --git a/comms/ifcico-cm/files/patch-sum b/comms/ifcico-cm/files/patch-sum
index 359965799ea..0225f08131a 100644
--- a/comms/ifcico-cm/files/patch-sum
+++ b/comms/ifcico-cm/files/patch-sum
@@ -1,4 +1,4 @@
-$NetBSD: patch-sum,v 1.3 2001/02/21 20:40:56 tv Exp $
+$NetBSD: patch-sum,v 1.4 2001/02/24 20:43:56 tv Exp $
MD5 (patch-aa) = c26244e76833f89fdc34bb5f4f7bf846
MD5 (patch-ab) = 93eabfe5c116ab445f5178181eeb124b
@@ -23,3 +23,4 @@ MD5 (patch-at) = aaa9004a37e310e47b2c480353c51ea1
MD5 (patch-au) = fe93664c434a6fc2a3178d1ffb3febfa
MD5 (patch-av) = 5ae3d1f246d5f6433172b60f0123446e
MD5 (patch-aw) = da869dddcaaea438dc61a54e4f41e257
+MD5 (patch-ax) = 9cf8976e5f74d615fc15ed4cb291cffb
diff --git a/comms/ifcico-cm/patches/patch-ax b/comms/ifcico-cm/patches/patch-ax
new file mode 100644
index 00000000000..9c17d59129c
--- /dev/null
+++ b/comms/ifcico-cm/patches/patch-ax
@@ -0,0 +1,20 @@
+$NetBSD: patch-ax,v 1.1 2001/02/24 20:43:56 tv Exp $
+
+--- ifcico/nodebld.c.orig Sat Feb 24 15:39:31 2001
++++ ifcico/nodebld.c Sat Feb 24 15:40:30 2001
+@@ -79,6 +79,7 @@
+ nm = xstrcat(nm, ".dir");
+ #endif
+
++#ifndef NEWDB
+ if ((ifp = fopen(nm, "w")))
+ fclose(ifp);
+ else
+@@ -86,7 +87,6 @@
+ logerr("$cannot create new %s", S(nm));
+ return 1;
+ }
+-#ifndef NEWDB
+ strcpy(nm+strlen(nm)-3,"pag");
+ if ((ifp=fopen(nm,"w"))) fclose(ifp);
+ else