Skip site navigation (1)Skip section navigation (2)
Date:      Sun,  4 Aug 2002 09:06:06 +0900 (JST)
From:      NIIMI Satoshi <sa2c@sa2c.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/41300: textproc/scrollkeeper should have BUILD_DEPENDS for textproc/docbook-xml
Message-ID:  <20020804000606.A57A53CC@berkeley.sa2c.net>

next in thread | raw e-mail | index | archive | help

>Number:         41300
>Category:       ports
>Synopsis:       textproc/scrollkeeper should have BUILD_DEPENDS for textproc/docbook-xml
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Aug 03 17:10:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     NIIMI Satoshi
>Release:        FreeBSD 4.6.1-RELEASE-p7 i386
>Organization:
>Environment:
System: FreeBSD berkeley.sa2c.net 4.6.1-RELEASE-p7 FreeBSD 4.6.1-RELEASE-p7 #1: Sun Aug 4 06:20:20 JST 2002 sa2c@berkeley.sa2c.net:/usr/obj/usr/src/sys/SA2C_NET i386


	
>Description:
textproc/scrollkeeper should have BUILD_DEPENDS for textproc/docbook-xml
because post-patch target executes PRE-INSTALL and this script depends
on existence of docbookx.dtd.
If textproc/scrollkeeper is built without textproc/docbook-xml installed
and no -DBATCH nor -DPACKAGE_BUILDING are passed, the buid fails.
	
>How-To-Repeat:
pkg_delete -r docbook-xml-4.1.2_1
cd ${PORTSDIR}/textproc/scrollkeeper
make
	
>Fix:

	

--- diff begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/textproc/scrollkeeper/Makefile,v
retrieving revision 1.16
diff -u -r1.16 Makefile
--- Makefile	1 Aug 2002 16:22:35 -0000	1.16
+++ Makefile	3 Aug 2002 23:44:36 -0000
@@ -49,6 +49,10 @@
 MAN8=	scrollkeeper-preinstall.8 scrollkeeper-rebuilddb.8 \
 	scrollkeeper-update.8
 
+.if !defined(BATCH) && !defined(PACKAGE_BUILDING)
+BUILD_DEPENDS+=	${LOCALBASE}/share/xml/docbook/4.1.2/docbookx.dtd:${PORTSDIR}/textproc/docbook-xml
+.endif
+
 post-patch:
 	@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
 		s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure
--- diff ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020804000606.A57A53CC>