tech-pkg archive

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

Re: pkgsrc-2011Q3 freeze has started



On Mon, 26 Sep 2011, Thomas Klausner wrote:
> I thought we wanted to stop cmake to look there, why does it need
> to?

kdelibs4 is failing to find docbook-xml and docbook-xsl even though 
the packages has 
 DEPENDS+=       docbook-xml>=4.2:../../textproc/docbook-xml
 DEPENDS+=       docbook-xsl>=1.75:../../textproc/docbook-xsl

because to determine if docbook-xml is there cmake does

set (DTD_PATH_LIST
   share/xml/docbook/schema/dtd/${DOCBOOKXML_CURRENTDTD_VERSION}
   share/xml/docbook/xml-dtd-${DOCBOOKXML_CURRENTDTD_VERSION}
   share/sgml/docbook/xml-dtd-${DOCBOOKXML_CURRENTDTD_VERSION}
   share/xml/docbook/${DOCBOOKXML_CURRENTDTD_VERSION}
)

find_path (DOCBOOKXML_CURRENTDTD_DIR docbookx.dtd
   PATHS ${CMAKE_SYSTEM_PREFIX_PATH}
   PATH_SUFFIXES ${DTD_PATH_LIST}
)


and $LOCALBASE is no longer in ${CMAKE_SYSTEM_PREFIX_PATH}
(although admittedly previously it was hardcoded to /usr/pkg).

similarly for docbook-xsl.


cheers
mark


Home | Main Index | Thread Index | Old Index