pkgsrc-Users archive

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

xmlcatmgr fixes



textproc/xmlcatmgr on file catalogs.mk 
builds the catalog with repeated /usr/pkg  eg: /usr/pkg/usr/pkg/.......
so everytime xslproc needs a catalog it cannot found so
it asks for  internet, as the xslproc is invoked with -nonet, result 
in error making man files.

For me it happens everytime I try to build something with HEAD (i386)

a proposed fix follows

Index: catalogs.mk
===================================================================
RCS file: /cvsroot/pkgsrc/textproc/xmlcatmgr/catalogs.mk,v
retrieving revision 1.21
diff -u -r1.21 catalogs.mk
--- catalogs.mk	25 Nov 2015 12:53:42 -0000	1.21
+++ catalogs.mk	29 Nov 2016 14:06:27 -0000
@@ -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