From owner-freebsd-ports Sat Aug 24 16:20:11 2002 Delivered-To: freebsd-ports@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4B59A37B400 for ; Sat, 24 Aug 2002 16:20:03 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id A3BE143E6A for ; Sat, 24 Aug 2002 16:20:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.4/8.12.4) with ESMTP id g7ONK2JU029009 for ; Sat, 24 Aug 2002 16:20:02 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.4/8.12.4/Submit) id g7ONK21a029008; Sat, 24 Aug 2002 16:20:02 -0700 (PDT) Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 539F637B400 for ; Sat, 24 Aug 2002 16:12:22 -0700 (PDT) Received: from host213-120-100-23.in-addr.btopenworld.com (host213-120-100-23.in-addr.btopenworld.com [213.120.100.23]) by mx1.FreeBSD.org (Postfix) with ESMTP id CA03F43E72 for ; Sat, 24 Aug 2002 16:12:21 -0700 (PDT) (envelope-from dom@host213-120-100-23.in-addr.btopenworld.com) Received: by host213-120-100-23.in-addr.btopenworld.com (Postfix, from userid 1001) id F007CCA; Sun, 25 Aug 2002 00:14:45 +0100 (BST) Message-Id: <20020824231445.F007CCA@host213-120-100-23.in-addr.btopenworld.com> Date: Sun, 25 Aug 2002 00:14:45 +0100 (BST) From: Dominic Marks Reply-To: Dominic Marks To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/41987: imake-4 build fails with altered X11BASE Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >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