From 6571e1f8a0e93ebac82b83f2fd0f682eb59e2af8 Mon Sep 17 00:00:00 2001 From: dmcmahill Date: Sat, 1 Jun 2002 20:11:55 +0000 Subject: add PKG_SYSCONFDIR/pcb, $HOME/.pcb and . to the search path for PCB m4 files. In addition sinclude the files 'site-config.inc', 'user-config.inc', and 'proj-config.inc' to allow for per-site, per-user, and per-project configuration instead of only per-site configuration. This is essential for use by non-sysadmin users and users who need to keep project specific setups. --- cad/pcb/patches/patch-ab | 4 ++-- cad/pcb/patches/patch-ap | 11 +++++++++++ cad/pcb/patches/patch-aq | 11 +++++++++++ cad/pcb/patches/patch-ar | 11 +++++++++++ 4 files changed, 35 insertions(+), 2 deletions(-) create mode 100644 cad/pcb/patches/patch-ap create mode 100644 cad/pcb/patches/patch-aq create mode 100644 cad/pcb/patches/patch-ar (limited to 'cad/pcb/patches') diff --git a/cad/pcb/patches/patch-ab b/cad/pcb/patches/patch-ab index 6172a128715..2002644a3fc 100644 --- a/cad/pcb/patches/patch-ab +++ b/cad/pcb/patches/patch-ab @@ -1,4 +1,4 @@ -$NetBSD: patch-ab,v 1.1.1.1 1998/11/07 14:30:34 frueauf Exp $ +$NetBSD: patch-ab,v 1.2 2002/06/01 20:11:55 dmcmahill Exp $ --- config.h.orig Wed Jan 28 17:28:11 1998 +++ config.h Wed Jan 28 17:29:04 1998 @@ -16,7 +16,7 @@ $NetBSD: patch-ab,v 1.1.1.1 1998/11/07 14:30:34 frueauf Exp $ * the name of GNU m4 (you MUST use GNU m4) */ -GNUM4 = m4 -+GNUM4 = gm4 ++GNUM4 = "gm4 -I@pkg_sysconfdir@ -I\$$HOME/.pcb -I." /* ---------------------------------------------------------------------- * BTNMOD determies the modifier key to be used for the diff --git a/cad/pcb/patches/patch-ap b/cad/pcb/patches/patch-ap new file mode 100644 index 00000000000..c8acd882191 --- /dev/null +++ b/cad/pcb/patches/patch-ap @@ -0,0 +1,11 @@ +$NetBSD: patch-ap,v 1.1 2002/06/01 20:11:56 dmcmahill Exp $ + +--- lib/QueryLibrary.sh.raw.orig Sat May 16 17:11:06 1998 ++++ lib/QueryLibrary.sh.raw Sat Jun 1 14:57:50 2002 +@@ -30,5 +30,5 @@ + # usage: QueryLibrary.sh template value package + +-M4=GNUM4 ++M4="GNUM4" + + Usage() diff --git a/cad/pcb/patches/patch-aq b/cad/pcb/patches/patch-aq new file mode 100644 index 00000000000..141495e9939 --- /dev/null +++ b/cad/pcb/patches/patch-aq @@ -0,0 +1,11 @@ +$NetBSD: patch-aq,v 1.1 2002/06/01 20:11:56 dmcmahill Exp $ + +--- lib/CreateLibrary.sh.raw.orig Sat May 16 17:11:04 1998 ++++ lib/CreateLibrary.sh.raw Sat Jun 1 14:56:58 2002 +@@ -30,5 +30,5 @@ + # usage: CreateContents.sh library common_macro_file file... + +-M4=GNUM4 ++M4="GNUM4" + + if [ $# -lt 3 ]; then diff --git a/cad/pcb/patches/patch-ar b/cad/pcb/patches/patch-ar new file mode 100644 index 00000000000..b6cb03a05b3 --- /dev/null +++ b/cad/pcb/patches/patch-ar @@ -0,0 +1,11 @@ +$NetBSD: patch-ar,v 1.1 2002/06/01 20:11:56 dmcmahill Exp $ + +--- lib/CreateLibraryContents.sh.raw.orig Sat May 16 17:11:04 1998 ++++ lib/CreateLibraryContents.sh.raw Sat Jun 1 15:00:46 2002 +@@ -30,5 +30,5 @@ + # usage: CreateLibraryContents.sh common_macro_file file... + +-M4=GNUM4 ++M4="GNUM4" + + # a TAB plus one blank for some stupid old sed implementations -- cgit v1.2.3