Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 18 Mar 2007 16:50:41 GMT
From:      bf<bf2006a@yahoo.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/110481: [patch] net/mpich2 doesn't properly register libraries: breaks new math/scalapack build
Message-ID:  <200703181650.l2IGofas026508@www.freebsd.org>
Resent-Message-ID: <200703181700.l2IH0DkW087673@freefall.freebsd.org>

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

>Number:         110481
>Category:       ports
>Synopsis:       [patch] net/mpich2 doesn't properly register libraries: breaks new math/scalapack build
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Mar 18 17:00:12 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     bf
>Release:        FreeBSD 6.2-RELEASE-p2 i386
>Organization:
--
>Environment:
FreeBSD 6.2-RELEASE-p2 i386, custom kernel
>Description:
The net/mpich2 port Makefile doesn't pass enough information to ldconfig to properly register it's libraries in the non-standard location ${LOCALBASE}/mpich2/lib/ at time of installation.  Among other things, this breaks the new math/scalapack build.  Proposed patch attached.
>How-To-Repeat:

>Fix:
patch:

--- Makefile.orig       Fri Mar 16 04:39:51 2007
+++ Makefile    Fri Mar 16 04:46:39 2007
@@ -38,7 +38,7 @@
 CONFIGURE_ENV+=        PTHREAD_LIBS="${PTHREAD_LIBS}" LDFLAGS="${PTHREAD_LIBS}" F77=${F77} FFLAGS=${FFLAGS}
 FFLAGS?=       -O2
 NOCCACHE=      yes
-MAKE_ENV=      CCACHE_DISABLE=yes
+MAKE_ENV=      CCACHE_DISABLE=yes LD_RUN_PATH="${PREFIX}/mpich2/lib/"
 
 WANT_FORTRAN=  yes
 BUILD_DEPENDS+=        gfortran42:${PORTSDIR}/lang/gcc42

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



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