ports/110480: [patch] net/mpich2 doesn't properly register libraries: breaks new math/scalapack build

bf bf2006a at yahoo.com
Sun Mar 18 16:50:04 UTC 2007


>Number:         110480
>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 16:50:03 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:



More information about the freebsd-ports-bugs mailing list