Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 25 Aug 2002 00:14:45 +0100 (BST)
From:      Dominic Marks <dominic_marks@btinternet.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/41987: imake-4 build fails with altered X11BASE
Message-ID:  <20020824231445.F007CCA@host213-120-100-23.in-addr.btopenworld.com>

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

>Number:         41987
>Category:       ports
>Synopsis:       imake-4 build fails with altered X11BASE
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Aug 24 16:20:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Dominic Marks
>Release:        FreeBSD 4.6-RELEASE i386
>Organization:
National Physical Laboratory, UK
>Environment:
System: FreeBSD gallium 4.6-RELEASE FreeBSD 4.6-RELEASE #0: Tue Jun 11 06:14:12 GMT 2002 murray@builder.freebsdmall.com:/usr/src/sys/compile/GENERIC i386
	
>Description:
	I have the following in /etc/make.conf:
	
	LOCALBASE=/usr/pkg
	X11BASE=/usr/x11
	XFREE86_VERSION=4
	
	When attempting to compile XFree86-4 the build will fail in the
	dependancies, in this case imake-4. The reason is that it
	attempts to use 'mkhtmlindex' but does not specify and absolute
	path for its location post-install. This assumption is made in
	bsd.port.mk. Changing the location of $MKHTMLINDEX in this file
	to its absolute location makes the build complete successfully
	in imake-4 and the XFree86-4 build continue without problems.

	I think this is a bug. Comments?
	
>How-To-Repeat:
	echo "X11BASE=/usr/x11" >> /etc/make.conf
	cd ${PORTSDIR}/x11/XFree86-4 && make install
	
>Fix:
Index: bsd.port.mk
===================================================================
RCS file: /media/cvs/freebsd/ports/Mk/bsd.port.mk,v
retrieving revision 1.422
diff -u -3 -r1.422 bsd.port.mk
--- bsd.port.mk	19 Aug 2002 17:12:59 -0000	1.422
+++ bsd.port.mk	24 Aug 2002 23:02:20 -0000
@@ -1087,7 +1087,7 @@
 AUTOCONF_DIR?=		${LOCALBASE}/share/autoconf213/autoconf
 LIBTOOL?=		libtool
 XMKMF?=			xmkmf -a
-MKHTMLINDEX?=		mkhtmlindex
+MKHTMLINDEX?=		${X11BASE}/bin/mkhtmlindex
 .if exists(/sbin/md5)
 MD5?=			/sbin/md5
 .elif exists(/bin/md5)
	


>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?20020824231445.F007CCA>