From 411f505bba552545a0fc6bb05b9081e6c27980d6 Mon Sep 17 00:00:00 2001 From: Shigeyuki Fukushima Date: Fri, 4 Jul 2003 14:28:43 +0000 Subject: [PATCH] Add xml catalog hard-coding path. PORTREVISION bump. PR: ports/52515 Submitted by: MOROHOSHI Akihiko --- editors/psgml/Makefile | 2 +- editors/psgml/files/patch-ac | 14 ++++++++------ 2 files changed, 9 insertions(+), 7 deletions(-) diff --git a/editors/psgml/Makefile b/editors/psgml/Makefile index a0e7415bc867..ad85c27d3dd6 100644 --- a/editors/psgml/Makefile +++ b/editors/psgml/Makefile @@ -7,7 +7,7 @@ PORTNAME= psgml PORTVERSION= ${PSGML_VER} -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= editors elisp MASTER_SITES= ftp://ftp.lysator.liu.se/pub/sgml/ \ ${MASTER_SITE_SOURCEFORGE} diff --git a/editors/psgml/files/patch-ac b/editors/psgml/files/patch-ac index 640c089d0e43..2a0a2b73abcd 100644 --- a/editors/psgml/files/patch-ac +++ b/editors/psgml/files/patch-ac @@ -1,6 +1,6 @@ ---- psgml.el.orig Mon Nov 16 06:45:03 1998 -+++ psgml.el Sat Jan 23 19:14:44 1999 -@@ -335,7 +335,7 @@ +--- psgml.el.orig Wed May 21 14:47:45 2003 ++++ psgml.el Wed May 21 15:44:47 2003 +@@ -340,7 +340,7 @@ (put 'sgml-system-path 'sgml-type 'file-list) (defvar sgml-public-map (or (sgml-parse-colon-path (getenv "SGML_PATH")) @@ -9,19 +9,21 @@ "*Mapping from public identifiers to file names. This is a list of possible file names. To find the file for a public identifier the elements of the list are used one at the time from the -@@ -361,13 +361,13 @@ +@@ -366,13 +366,15 @@ (defvar sgml-catalog-files (or (delete nil (sgml-parse-colon-path (getenv "SGML_CATALOG_FILES"))) - '("catalog" "/usr/local/lib/sgml/catalog")) -+ '("catalog" "@prefix@/share/sgml/catalog")) ++ '("catalog" "@prefix@/share/sgml/catalog" ++ "@prefix@/share/xml/catalog")) "*List of catalog entry files. The files are in the format defined in the SGML Open Draft Technical Resolution on Entity Management.") (put 'sgml-catalog-files 'sgml-type 'file-list) -(defvar sgml-ecat-files '("ECAT" "~/sgml/ECAT" "/usr/local/lib/sgml/ECAT") -+(defvar sgml-ecat-files '("ECAT" "~/sgml/ECAT" "@prefix@/share/sgml/ECAT") ++(defvar sgml-ecat-files '("ECAT" "~/sgml/ECAT" "@prefix@/share/sgml/ECAT" ++ "@prefix@/share/xml/ECAT") "*List of catalog files for PSGML.") (put 'sgml-ecat-files 'sgml-type 'file-list)