From owner-freebsd-ports-bugs@FreeBSD.ORG Sat Nov 25 13:40:13 2006 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E3DD216A412 for ; Sat, 25 Nov 2006 13:40:12 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2644243D5F for ; Sat, 25 Nov 2006 13:39:24 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id kAPDeBux013984 for ; Sat, 25 Nov 2006 13:40:11 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id kAPDeB9K013983; Sat, 25 Nov 2006 13:40:11 GMT (envelope-from gnats) Resent-Date: Sat, 25 Nov 2006 13:40:11 GMT Resent-Message-Id: <200611251340.kAPDeB9K013983@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Thierry Thomas Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0777216A49E for ; Sat, 25 Nov 2006 13:31:18 +0000 (UTC) (envelope-from thierry@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.FreeBSD.org (Postfix) with ESMTP id 04E5343D5D for ; Sat, 25 Nov 2006 13:30:27 +0000 (GMT) (envelope-from thierry@FreeBSD.org) Received: from freefall.freebsd.org (thierry@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id kAPDVFLk013855; Sat, 25 Nov 2006 13:31:15 GMT (envelope-from thierry@freefall.freebsd.org) Received: (from thierry@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id kAPDVF4G013854; Sat, 25 Nov 2006 13:31:15 GMT (envelope-from thierry) Message-Id: <200611251331.kAPDVF4G013854@freefall.freebsd.org> Date: Sat, 25 Nov 2006 13:31:15 GMT From: Thierry Thomas To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: "David A. Bader" Subject: ports/105844: net/mpich: don't rely on a X11BASE engraved in marble X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Thierry Thomas List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 25 Nov 2006 13:40:13 -0000 >Number: 105844 >Category: ports >Synopsis: net/mpich: don't rely on a X11BASE engraved in marble >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Sat Nov 25 13:40:11 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Thierry Thomas >Release: FreeBSD 6.0-STABLE i386 >Organization: Kabbale Eros >Environment: System: FreeBSD freefall.freebsd.org 6.0-STABLE FreeBSD 6.0-STABLE #0: Sat Dec 10 03:18:20 UTC 2005 kensmith@freefall.freebsd.org:/usr/obj/usr/src/sys/FREEFALL i386 >Description: As reported by Kris Kennaway: As you may know, one of the major projects we are working on in the ports community is the push to incorporate Xorg 7.x. As part of this change, X is moving from /usr/X11R6 into /usr/local. This means that all ports that use X need to be flexible enough to deal with X being in a new location. Unfortunately, your port is not currently compliant; when your port and everything else is compiled with a nonstandard X11BASE (see below), your port fails to compile. This is probably because it "knows" that X11 files live in /usr/X11R6 and nowhere else. Can you please investigate this as a matter of priority, and submit a PR with the fixes when you are ready? >How-To-Repeat: See log on pointyhat. >Fix: Please consider the following patch: --- mpich.diff begins here --- diff -urN net/mpich.orig/Makefile net/mpich/Makefile --- net/mpich.orig/Makefile Mon Aug 28 19:04:22 2006 +++ net/mpich/Makefile Sat Nov 25 14:00:34 2006 @@ -193,6 +193,11 @@ .endif .endif +pre-configure: +.for fic in mpe/configure mpe/src/Makefile.in + ${REINPLACE_CMD} -e 's|/usr/X11R6|${X11BASE}|g' ${WRKSRC}/${fic} +.endfor + post-install: ${CHOWN} -R ${BINOWN}:${BINGRP} ${PREFIX}/mpich/bin ${PREFIX}/mpich/lib ${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/mpich/doc ${PREFIX}/mpich/include \ --- mpich.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted: