[33292] trunk/dports/science/mpich2

mww at macports.org mww at macports.org
Tue Jan 22 14:00:34 PST 2008


Revision: 33292
          http://trac.macosforge.org/projects/macports/changeset/33292
Author:   mww at macports.org
Date:     2008-01-22 14:00:34 -0800 (Tue, 22 Jan 2008)

Log Message:
-----------
fix broken install_name of dylibs, inc. revision

Modified Paths:
--------------
    trunk/dports/science/mpich2/Portfile

Added Paths:
-----------
    trunk/dports/science/mpich2/files/
    trunk/dports/science/mpich2/files/patch-Makefile.in
    trunk/dports/science/mpich2/files/patch-src-util-createshlib.in

Modified: trunk/dports/science/mpich2/Portfile
===================================================================
--- trunk/dports/science/mpich2/Portfile	2008-01-22 21:59:20 UTC (rev 33291)
+++ trunk/dports/science/mpich2/Portfile	2008-01-22 22:00:34 UTC (rev 33292)
@@ -4,6 +4,7 @@
 
 name			mpich2
 version			1.0.6p1
+revision		1
 categories		science parallel net
 platforms		darwin
 maintainers		nomaintainer
@@ -18,6 +19,7 @@
 homepage		http://www-unix.mcs.anl.gov/mpi/mpich2/
 master_sites	ftp://ftp.mcs.anl.gov/pub/mpi/
 checksums		sha1 f8acd360df0380774d74804a706ffc1022acd62e
+patchfiles		patch-Makefile.in patch-src-util-createshlib.in
 
 depends_lib port:python24
 

Added: trunk/dports/science/mpich2/files/patch-Makefile.in
===================================================================
--- trunk/dports/science/mpich2/files/patch-Makefile.in	                        (rev 0)
+++ trunk/dports/science/mpich2/files/patch-Makefile.in	2008-01-22 22:00:34 UTC (rev 33292)
@@ -0,0 +1,12 @@
+--- Makefile.in	2007-10-31 16:58:08.000000000 +0100
++++ Makefile.in	2008-01-22 18:49:12.000000000 +0100
+@@ -16,8 +16,8 @@
+ master_top_srcdir  = @master_top_srcdir@
+ abs_builddir    = @abs_builddir@
+ srcdir          = @srcdir@
+-exec_prefix     = @exec_prefix@
+ prefix          = @prefix@
++exec_prefix     = @exec_prefix@
+ abs_srcdir      = @abs_srcdir@
+ libdir          = @libdir@
+ includedir      = @includedir@

Added: trunk/dports/science/mpich2/files/patch-src-util-createshlib.in
===================================================================
--- trunk/dports/science/mpich2/files/patch-src-util-createshlib.in	                        (rev 0)
+++ trunk/dports/science/mpich2/files/patch-src-util-createshlib.in	2008-01-22 22:00:34 UTC (rev 33292)
@@ -0,0 +1,16 @@
+--- src/util/createshlib.in	2007-09-12 16:39:20.000000000 +0200
++++ src/util/createshlib.in	2008-01-22 21:00:26.000000000 +0100
+@@ -256,10 +256,9 @@
+         # argument.  See http://developer.apple.com/documentation/DeveloperTools/Conceptual/DynamicLibraries/index.html 
+ 	# for more information
+         # Mac OS/X
+-	if [ -z "$destlibname" ] ; then
+-	    abssrclibdir=`(cd $srclibdir && pwd)`
+-	    destlibname="$abssrclibdir/$realName"
+-	fi
++	prefix=@prefix@
++	exec_prefix=@prefix@
++	destlibname="@libdir@/$realName"
+ 	$Show ${C_LINK_SHL} -o $realName \
+ 	    $minorVersionArg -install_name $destlibname .tmp/*.o
+ 	;;		

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080122/ffd73919/attachment.html


More information about the macports-changes mailing list