From nobody@FreeBSD.org  Tue Jul 18 14:38:01 2006
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 85DB616A54B
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 18 Jul 2006 14:38:01 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id A563C43DAA
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 18 Jul 2006 14:35:00 +0000 (GMT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.13.1/8.13.1) with ESMTP id k6IEZ0w6058835
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 18 Jul 2006 14:35:00 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.13.1/8.13.1/Submit) id k6IEZ0pn058818;
	Tue, 18 Jul 2006 14:35:00 GMT
	(envelope-from nobody)
Message-Id: <200607181435.k6IEZ0pn058818@www.freebsd.org>
Date: Tue, 18 Jul 2006 14:35:00 GMT
From: Jacula Modyun <jacula@gmail.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: devel/libusb buil fails WITH_SGML
X-Send-Pr-Version: www-2.3

>Number:         100488
>Category:       ports
>Synopsis:       devel/libusb buil fails WITH_SGML
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jul 18 14:40:14 GMT 2006
>Closed-Date:    Sat Jul 29 21:06:22 GMT 2006
>Last-Modified:  Sat Jul 29 21:06:22 GMT 2006
>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:
State-Changed-From-To: open->feedback 
State-Changed-By: edwin 
State-Changed-When: Tue Jul 18 14:40:43 UTC 2006 
State-Changed-Why:  
Awaiting maintainers feedback 

http://www.freebsd.org/cgi/query-pr.cgi?pr=100488 

From: Rene Ladan <r.c.ladan@gmail.com>
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/100488: devel/libusb buil fails WITH_SGML
Date: Tue, 18 Jul 2006 20:08:36 +0200

 Edwin Groothuis wrote:
 > Maintainer of devel/libusb,
 > 
 > Please note that PR ports/100488 has just been submitted.
 > 
 > If it contains a patch for an upgrade, an enhancement or a bug fix
 > you agree on, reply to this email stating that you approve the patch
 > and a committer will take care of it.
 > 
 > The full text of the PR can be found at:
 >     http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/100488
 > 
 Patch approved, I think it's cleaner to add it to Makefile (in the
 WITH_SGML part) to avoid having a Makefile.local
 
 Regards,
 Rene
 -- 
 GPG fingerprint = E738 5471 D185 7013 0EE0  4FC8 3C1D 6F83 12E1 84F6
 (subkeys.pgp.net)
 
 "It won't fit on the line."
 		-- me, 2001
 
State-Changed-From-To: feedback->open 
State-Changed-By: linimon 
State-Changed-When: Tue Jul 18 22:16:03 UTC 2006 
State-Changed-Why:  
Maintainer approved. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=100488 

From: Jacula Modyun <jacula@gmail.com>
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/100488: devel/libusb buil fails WITH_SGML
Date: Wed, 19 Jul 2006 09:09:08 +0000

 --lrZ03NoBR/3+SXJZ
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: inline
 
 Yes, I know that it's cleaner to add it to Makefile. But I used a
 Makefile.local, because I think it can be only a temporary hack.
 The problem, for me, is the textproc/docbook port. This port run-depends
 by the textproc/docbook-xml, and when you install both textproc/docbook-xml
 and textproc/docbook-420, you will have duplicates of most of the files.
 Then I think It's better, for me, that the textproc/docbook use the
 WITH_SGML knob and this knob is WITH_SGML=1 by default. So you can
 chose if your system has these duplicated files.
 
 Best Regards by Jacula Modyun
 
 --lrZ03NoBR/3+SXJZ
 Content-Type: application/pgp-signature
 Content-Disposition: inline
 
 -----BEGIN PGP SIGNATURE-----
 
 iQIVAwUBRL32tNlCXyCLn0uLAQoTgxAAtKipOkFlBE/bq4d9ZetfwWsc35bXJmky
 buFP/KAl8rLNw+Q1lmfWbIt88OWHv+2nPOxjoz+wOH6wnkf2KvXYFv4/mcasQ147
 l79v/j4B0n1dC6YA2SL6mwkDxMUOi6wM+5KnO1M6DECRBiZz63J5mL61YCpfanqc
 CIF1IxffVNJBnpgeIpSDwC2IofKinyoXIiuUUCjol8ZeB945dCIr8wd0eIRriY2A
 tWyCkuuv094KbxLjp8WewaS9N76IbD2XuAtalX3bpH6LbdkzP8CdoHBCpigQZgTn
 bvRmq48RXEBdI+ixE3Hs07aWOy9lIRBC1fZRQSfGWUxXBCAQ9j+GbQL96yS+TXNO
 7YCqcgd24DxrnalHFcHVqnEwavHEy+oZnVesexuUVsYuK36gEYHIfOA2UXuAkb2P
 GmjNQyFjv6SRSpJ7NBSPA6iLh8HpycKaAds17SPfOW6YIC84k7LfQjdl9M0QWDYK
 KkA+TTR1Pi73nY/YFrW9rgB4gGBTF/1mbPoCab/uFeksgkwcd4DjcxPTPnycyfw3
 hykT+CPxhyg2d99XxjI0kzl3H5IbS9E4M52yDwGIKn51SW4SrD8DTYqupfPcSrC9
 X8btZYVNUcUBJkeHG731mpuGcO9JcH5DEmO0O+ynVwnI04vtXPwYLsPVXdOkd4LR
 v3YkRbH0waw=
 =aM+3
 -----END PGP SIGNATURE-----
 
 --lrZ03NoBR/3+SXJZ--

From: Rene Ladan <r.c.ladan@gmail.com>
To: bug-followup@FreeBSD.org,  jacula@gmail.com
Cc:  
Subject: Re: ports/100488: devel/libusb buil fails WITH_SGML
Date: Wed, 19 Jul 2006 13:31:34 +0200

 The patch should be in the main Makefile, since the WITH_SGML knob is
 not propagated to Makefile.local, and if the dependency in
 Makefile.local is not contained within the WITH_SGML knob, it is always
 installed which is both unnecessary and unclean.
 
 Regards,
 Rene
 -- 
 GPG fingerprint = E738 5471 D185 7013 0EE0  4FC8 3C1D 6F83 12E1 84F6
 (subkeys.pgp.net)
 
 "It won't fit on the line."
 		-- me, 2001
 
State-Changed-From-To: open->closed 
State-Changed-By: arved 
State-Changed-When: Sat Jul 29 21:06:05 UTC 2006 
State-Changed-Why:  
A patch was committed, thanks for reporting 

http://www.freebsd.org/cgi/query-pr.cgi?pr=100488 
>Unformatted:
