1 |
heroxbd 12/04/04 03:19:01 |
2 |
|
3 |
Added: docbook-utils-0.6.14-prefix.patch |
4 |
Log: |
5 |
patch for prefix, add keywords for ~x86-{macosx,freebsd}, bug #410737 |
6 |
|
7 |
(Portage version: 2.1.10.49/cvs/Linux x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.1 app-text/docbook-sgml-utils/files/docbook-utils-0.6.14-prefix.patch |
11 |
|
12 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/docbook-sgml-utils/files/docbook-utils-0.6.14-prefix.patch?rev=1.1&view=markup |
13 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/docbook-sgml-utils/files/docbook-utils-0.6.14-prefix.patch?rev=1.1&content-type=text/plain |
14 |
|
15 |
Index: docbook-utils-0.6.14-prefix.patch |
16 |
=================================================================== |
17 |
--- doc/HTML/Makefile.am~ 2007-10-08 04:13:04 +0200 |
18 |
+++ doc/HTML/Makefile.am 2007-10-08 04:13:34 +0200 |
19 |
@@ -23,7 +23,7 @@ |
20 |
$(top_srcdir)/doc/refentry/docbook2texi-spec.pl.sgml \ |
21 |
$(top_srcdir)/doc/refentry/frontend-spec.sgml \ |
22 |
$(top_srcdir)/doc/refentry/sgmldiff.sgml |
23 |
- SGML_CATALOG_FILES=/etc/sgml/catalog \ |
24 |
+ SGML_CATALOG_FILES=@GENTOO_PORTAGE_EPREFIX@/etc/sgml/catalog \ |
25 |
SGML_SEARCH_PATH=$(top_srcdir):$(top_srcdir)/doc:.. \ |
26 |
jade -t sgml -i html -d $(top_srcdir)/docbook-utils.dsl\#html \ |
27 |
-V '%use-id-as-filename%' $< |
28 |
--- doc/man/Makefile.am~ 2007-10-08 04:14:16 +0200 |
29 |
+++ doc/man/Makefile.am 2007-10-08 04:14:29 +0200 |
30 |
@@ -10,7 +10,7 @@ |
31 |
|
32 |
$(man1_MANS) $(man7_MANS): $(top_srcdir)/doc/docbook-utils.sgml \ |
33 |
$(top_srcdir)/helpers/docbook2man-spec.pl |
34 |
- SGML_CATALOG_FILES=/etc/sgml/catalog \ |
35 |
+ SGML_CATALOG_FILES=@GENTOO_PORTAGE_EPREFIX@/etc/sgml/catalog \ |
36 |
SGML_SEARCH_PATH=$(top_srcdir)/doc:.. \ |
37 |
nsgmls $< | \ |
38 |
sgmlspl $(top_srcdir)/helpers/docbook2man-spec.pl |
39 |
--- bin/jw.in~ 2007-10-08 04:27:18 +0200 |
40 |
+++ bin/jw.in 2007-10-08 04:28:40 +0200 |
41 |
@@ -63,7 +63,7 @@ |
42 |
then |
43 |
SGML_CONF=`sgmlwhich` |
44 |
else |
45 |
- SGML_CONF="/etc/sgml/sgml.conf" |
46 |
+ SGML_CONF="@GENTOO_PORTAGE_EPREFIX@/etc/sgml/sgml.conf" |
47 |
fi |
48 |
|
49 |
# Set version message |
50 |
@@ -77,7 +77,7 @@ |
51 |
|
52 |
# Set SGML base directory and centralized catalogs directory |
53 |
SGML_BASE_DIR="@prefix@/share/sgml" |
54 |
-SGML_CATALOGS_DIR="/etc/sgml" |
55 |
+SGML_CATALOGS_DIR="@GENTOO_PORTAGE_EPREFIX@/etc/sgml" |
56 |
if [ -f "$SGML_CONF" ] |
57 |
then |
58 |
RE='^[:space:]*SGML_BASE_DIR[:space:]*=[:space:]*' |
59 |
--- backends/txt~ 2007-10-08 04:59:59 +0200 |
60 |
+++ backends/txt 2007-10-08 05:00:52 +0200 |
61 |
@@ -2,21 +2,21 @@ |
62 |
# Send any comments to Eric Bischoff <eric@×××××××.de> |
63 |
# This program is under GPL license. See LICENSE file for details. |
64 |
|
65 |
-if [ -x /usr/bin/lynx ] |
66 |
+if [ -x "@GENTOO_PORTAGE_EPREFIX@"/usr/bin/lynx ] |
67 |
then |
68 |
- CONVERT=/usr/bin/lynx |
69 |
+ CONVERT="@GENTOO_PORTAGE_EPREFIX@"/usr/bin/lynx |
70 |
ARGS="-force_html -dump -nolist -width=72" |
71 |
-elif [ -x /usr/bin/links ] |
72 |
+elif [ -x "@GENTOO_PORTAGE_EPREFIX@"/usr/bin/links ] |
73 |
then |
74 |
- CONVERT=/usr/bin/links |
75 |
+ CONVERT="@GENTOO_PORTAGE_EPREFIX@"/usr/bin/links |
76 |
ARGS="-dump" |
77 |
-elif [ -x /usr/bin/elinks ] |
78 |
+elif [ -x "@GENTOO_PORTAGE_EPREFIX@"/usr/bin/elinks ] |
79 |
then |
80 |
- CONVERT=/usr/bin/elinks |
81 |
+ CONVERT="@GENTOO_PORTAGE_EPREFIX@"/usr/bin/elinks |
82 |
ARGS="-dump" |
83 |
-elif [ -x /usr/bin/w3m ] |
84 |
+elif [ -x "@GENTOO_PORTAGE_EPREFIX@"/usr/bin/w3m ] |
85 |
then |
86 |
- CONVERT=/usr/bin/w3m |
87 |
+ CONVERT="@GENTOO_PORTAGE_EPREFIX@"/usr/bin/w3m |
88 |
ARGS="-dump" |
89 |
else |
90 |
echo >&2 "No way to convert HTML to text found." |
91 |
--- configure.in~ 2004-02-11 15:14:15 +0100 |
92 |
+++ configure.in 2007-10-14 10:40:51 +0200 |
93 |
@@ -20,11 +20,11 @@ |
94 |
AC_SUBST(docdir) |
95 |
|
96 |
dnl Checks for programs. |
97 |
-jade_bindirs="/usr/bin /usr/local/bin" |
98 |
+jade_bindirs="@GENTOO_PORTAGE_EPREFIX@/usr/bin" |
99 |
AC_FIND_PROGRAM(nsgmls, $jade_bindirs, jade_bindir) |
100 |
AC_SUBST(jade_bindir) |
101 |
|
102 |
-perl_bindirs="/usr/bin /usr/local/bin" |
103 |
+perl_bindirs="@GENTOO_PORTAGE_EPREFIX@/usr/bin" |
104 |
AC_FIND_PROGRAM(perl, $perl_bindirs, perl_bindir) |
105 |
AC_SUBST(perl_bindir) |