ports/100488: devel/libusb buil fails WITH_SGML

Jacula Modyun jacula at gmail.com
Tue Jul 18 14:40:37 UTC 2006


>Number:         100488
>Category:       ports
>Synopsis:       devel/libusb buil fails WITH_SGML
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jul 18 14:40:14 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Jacula Modyun
>Release:        FreeBSD 6.1 STABLE
>Organization:
>Environment:
>Description:
The libusb build depends by the /usr/local/share/sgml/docbook/4.2/catalog file. But the textproc/docbook port install the textproc/docbook-xml port, that is a only a part of the textproc/docbook-420 port. 
The docbook 4.2 includes the XML DocBook DTD as part of the SGML DTD distribution.
Then if you build devel/libusb WITH_SGML=1 and your sistem hasn't already installed the textproc/docbook-420 ports, the build failes.


>How-To-Repeat:
cd /usr/ports/devel/libusb
make config
SGML=on
make showconfig 
===> The following configuration options are available for libusb-0.1.12:
     SGML=on "Install developer guide from SGML"
===> Use 'make config' to modify these settings
make
>Fix:
My litle hack is a Makefile.local with the line:

BUILD_DEPENDS+= ${LOCALBASE}/share/sgml/docbook/4.2/catalog:${PORTSDIR}/textproc/docbook-420
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list