pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/52946: xmlcatmgr/catalogs.mk builds invalid /usr/pkg/share/xml/catalog



>Number:         52946
>Category:       pkg
>Synopsis:       xmlcatmgr/catalogs.mk builds invalid /usr/pkg/share/xml/catalog
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Jan 24 15:10:00 +0000 2018
>Originator:     Sergio Lenzi
>Release:        head
>Organization:
K1 sistemas
>Environment:
NetBSD netbsdhead.lenzicasa 8.99.12 NetBSD 8.99.12 (LZT) #0: Tue Jan 23 18:25:01 BRST 2018  NetBSD@VMS.lenzicasa:/home/NetBSD/BUILD/HEAD/i386/obj/sys/arch/i386/compile/GENERIC i386

>Description:
the file /usr/pkgsrc/texproc/xmlcatmgr/catalogs.mk builds invalid catalog entry so instead of docbook* builds catalog pointing to /usr/pkg/share/xml/docbook/...  it points to /usr/pkg/usr/pkg/share/xml/docbook/... 
that breaks xstproc that cannot find the catalogs and tries to download from internet...
>How-To-Repeat:

>Fix:

a patch for /usr/pkgsrc/xmlcatmgr/catalogs.mk



diff -ru -x CVS ddxmlcatmgr/catalogs.mk ../lzt/xmlcatmgr/catalogs.mk
--- xmlcatmgr/catalogs.mk	2015-11-25 10:53:42.000000000 -0200
+++ ../lzt/xmlcatmgr/catalogs.mk	2017-04-16 12:28:00.000000000 -0300
@@ -32,14 +32,14 @@
 # Convert SGML_CATALOGS files into arguments for SGML_ENTRIES.
 .if !empty(SGML_CATALOGS)
 .  for c in ${SGML_CATALOGS}
-SGML_ENTRIES+=	CATALOG ${PREFIX:=${c}} --
+SGML_ENTRIES+=	CATALOG ${c} --
 .  endfor
 .endif
 
 # Convert XML_CATALOGS files into arguments for XML_ENTRIES.
 .if !empty(XML_CATALOGS)
 .  for c in ${XML_CATALOGS}
-XML_ENTRIES+=	nextCatalog ${PREFIX:=${c}} --
+XML_ENTRIES+=	nextCatalog ${c} --
 .  endfor
 .endif


Home | Main Index | Thread Index | Old Index