[145767] trunk/dports/math/OpenBLAS

michaelld at macports.org michaelld at macports.org
Tue Feb 16 11:09:28 PST 2016


Revision: 145767
          https://trac.macports.org/changeset/145767
Author:   michaelld at macports.org
Date:     2016-02-16 11:09:28 -0800 (Tue, 16 Feb 2016)
Log Message:
-----------
OpenBLAS:
+ update devel to 38593cd3 (20160213);
+ split patches into release and devel versions;
+ update patches to apply cleanly.

Modified Paths:
--------------
    trunk/dports/math/OpenBLAS/Portfile

Added Paths:
-----------
    trunk/dports/math/OpenBLAS/files/patch-libnoarch.devel.diff
    trunk/dports/math/OpenBLAS/files/patch-libnoarch.release.diff
    trunk/dports/math/OpenBLAS/files/patch-linkLib.devel.diff
    trunk/dports/math/OpenBLAS/files/patch-linkLib.release.diff

Removed Paths:
-------------
    trunk/dports/math/OpenBLAS/files/patch-libnoarch.diff
    trunk/dports/math/OpenBLAS/files/patch-linkLib.diff

Modified: trunk/dports/math/OpenBLAS/Portfile
===================================================================
--- trunk/dports/math/OpenBLAS/Portfile	2016-02-16 18:59:30 UTC (rev 145766)
+++ trunk/dports/math/OpenBLAS/Portfile	2016-02-16 19:09:28 UTC (rev 145767)
@@ -17,27 +17,34 @@
 # for the user processor
 archive_sites
 
-patchfiles          patch-libnoarch.diff \
-                    patch-linkLib.diff
-
 subport OpenBLAS-devel {}
 if {[string first "-devel" $subport] > 0} {
-    github.setup    xianyi OpenBLAS 233c6b959fa4a9b98730de3d02082a91dad53baf
-    version         20160208
-checksums           rmd160 4c799538d57f516f7cb9c943e1b32bfbd817fae2 \
-                    sha256 7c402fea5c5c6836c76f013d7154ce5db682b7f142b64de0f16059cfedc5bd73
 
+    github.setup    xianyi OpenBLAS 38593cd3a35a63cb9d2ce75106cd4c3a678445c7
+    version         20160213
+checksums           rmd160 de88157ca14ef5a7e5e227ad6cb2cd701229caec \
+                    sha256 9db1e323757fd57bb1489b7de88e65a42daa32b86d1c5a9f6dd80a6b0bef927c
+
     name            ${github.project}-devel
     conflicts       OpenBLAS
 
+    patchfiles      patch-libnoarch.devel.diff \
+                    patch-linkLib.devel.diff
+
     livecheck.url   ${github.homepage}/commits/develop.atom
+
 } else {
+
     github.setup    xianyi OpenBLAS 0.2.15 v
     revision        1
     conflicts       OpenBLAS-devel
 
 checksums           rmd160  776f78d6abd2c2733bf673ac18f0360f4bb12430 \
                     sha256  fe32d7977e9a2dddcd6e9c5350683b5e3cc3d59afdd432e9a5989449e536aecc
+
+    patchfiles      patch-libnoarch.release.diff \
+                    patch-linkLib.release.diff
+
 }
 
 variant gcc45 conflicts gcc46 gcc47 gcc48 gcc49 gcc5 gcc6 clang \

Copied: trunk/dports/math/OpenBLAS/files/patch-libnoarch.devel.diff (from rev 145763, trunk/dports/math/OpenBLAS/files/patch-libnoarch.diff)
===================================================================
--- trunk/dports/math/OpenBLAS/files/patch-libnoarch.devel.diff	                        (rev 0)
+++ trunk/dports/math/OpenBLAS/files/patch-libnoarch.devel.diff	2016-02-16 19:09:28 UTC (rev 145767)
@@ -0,0 +1,18 @@
+--- Makefile.system.orig
++++ Makefile.system
+@@ -1039,11 +1039,11 @@
+ 
+ ifneq ($(DYNAMIC_ARCH), 1)
+ ifndef SMP
+-LIBNAME		= $(LIBPREFIX)_$(LIBCORE)$(REVISION).$(LIBSUFFIX)
+-LIBNAME_P	= $(LIBPREFIX)_$(LIBCORE)$(REVISION)_p.$(LIBSUFFIX)
++LIBNAME		= $(LIBPREFIX)$(REVISION).$(LIBSUFFIX)
++LIBNAME_P	= $(LIBPREFIX)$(REVISION)_p.$(LIBSUFFIX)
+ else
+-LIBNAME		= $(LIBPREFIX)_$(LIBCORE)p$(REVISION).$(LIBSUFFIX)
+-LIBNAME_P	= $(LIBPREFIX)_$(LIBCORE)p$(REVISION)_p.$(LIBSUFFIX)
++LIBNAME		= $(LIBPREFIX)$(REVISION).$(LIBSUFFIX)
++LIBNAME_P	= $(LIBPREFIX)$(REVISION)_p.$(LIBSUFFIX)
+ endif
+ else
+ ifndef SMP

Deleted: trunk/dports/math/OpenBLAS/files/patch-libnoarch.diff
===================================================================
--- trunk/dports/math/OpenBLAS/files/patch-libnoarch.diff	2016-02-16 18:59:30 UTC (rev 145766)
+++ trunk/dports/math/OpenBLAS/files/patch-libnoarch.diff	2016-02-16 19:09:28 UTC (rev 145767)
@@ -1,18 +0,0 @@
---- Makefile.system.orig	2013-09-22 15:27:35.000000000 +0900
-+++ Makefile.system	2013-09-22 15:42:51.000000000 +0900
-@@ -860,11 +860,11 @@
- 
- ifneq ($(DYNAMIC_ARCH), 1)
- ifndef SMP
--LIBNAME		= $(LIBPREFIX)_$(LIBCORE)$(REVISION).$(LIBSUFFIX)
--LIBNAME_P	= $(LIBPREFIX)_$(LIBCORE)$(REVISION)_p.$(LIBSUFFIX)
-+LIBNAME		= $(LIBPREFIX)$(REVISION).$(LIBSUFFIX)
-+LIBNAME_P	= $(LIBPREFIX)$(REVISION)_p.$(LIBSUFFIX)
- else
--LIBNAME		= $(LIBPREFIX)_$(LIBCORE)p$(REVISION).$(LIBSUFFIX)
--LIBNAME_P	= $(LIBPREFIX)_$(LIBCORE)p$(REVISION)_p.$(LIBSUFFIX)
-+LIBNAME		= $(LIBPREFIX)$(REVISION).$(LIBSUFFIX)
-+LIBNAME_P	= $(LIBPREFIX)$(REVISION)_p.$(LIBSUFFIX)
- endif
- else
- ifndef SMP

Copied: trunk/dports/math/OpenBLAS/files/patch-libnoarch.release.diff (from rev 145766, trunk/dports/math/OpenBLAS/files/patch-libnoarch.diff)
===================================================================
--- trunk/dports/math/OpenBLAS/files/patch-libnoarch.release.diff	                        (rev 0)
+++ trunk/dports/math/OpenBLAS/files/patch-libnoarch.release.diff	2016-02-16 19:09:28 UTC (rev 145767)
@@ -0,0 +1,18 @@
+--- Makefile.system.orig
++++ Makefile.system
+@@ -1022,11 +1022,11 @@
+ 
+ ifneq ($(DYNAMIC_ARCH), 1)
+ ifndef SMP
+-LIBNAME		= $(LIBPREFIX)_$(LIBCORE)$(REVISION).$(LIBSUFFIX)
+-LIBNAME_P	= $(LIBPREFIX)_$(LIBCORE)$(REVISION)_p.$(LIBSUFFIX)
++LIBNAME		= $(LIBPREFIX)$(REVISION).$(LIBSUFFIX)
++LIBNAME_P	= $(LIBPREFIX)$(REVISION)_p.$(LIBSUFFIX)
+ else
+-LIBNAME		= $(LIBPREFIX)_$(LIBCORE)p$(REVISION).$(LIBSUFFIX)
+-LIBNAME_P	= $(LIBPREFIX)_$(LIBCORE)p$(REVISION)_p.$(LIBSUFFIX)
++LIBNAME		= $(LIBPREFIX)$(REVISION).$(LIBSUFFIX)
++LIBNAME_P	= $(LIBPREFIX)$(REVISION)_p.$(LIBSUFFIX)
+ endif
+ else
+ ifndef SMP

Copied: trunk/dports/math/OpenBLAS/files/patch-linkLib.devel.diff (from rev 145763, trunk/dports/math/OpenBLAS/files/patch-linkLib.diff)
===================================================================
--- trunk/dports/math/OpenBLAS/files/patch-linkLib.devel.diff	                        (rev 0)
+++ trunk/dports/math/OpenBLAS/files/patch-linkLib.devel.diff	2016-02-16 19:09:28 UTC (rev 145767)
@@ -0,0 +1,12 @@
+--- Makefile.install.orig
++++ Makefile.install
+@@ -83,8 +83,7 @@
+ ifeq ($(OSNAME), Darwin)
+ 	@-cp $(LIBDYNNAME) $(DESTDIR)$(OPENBLAS_LIBRARY_DIR)
+ 	@-install_name_tool -id $(DESTDIR)$(OPENBLAS_LIBRARY_DIR)/$(LIBDYNNAME) $(DESTDIR)$(OPENBLAS_LIBRARY_DIR)/$(LIBDYNNAME)
+-	@cd $(DESTDIR)$(OPENBLAS_LIBRARY_DIR) ; \
+-	ln -fs $(LIBDYNNAME) $(LIBPREFIX).dylib
++	@-ln -fs $(OPENBLAS_LIBRARY_DIR)/$(LIBDYNNAME) $(DESTDIR)$(OPENBLAS_LIBRARY_DIR)/$(LIBPREFIX).dylib
+ endif
+ ifeq ($(OSNAME), WINNT)
+ 	@-cp $(LIBDLLNAME) $(DESTDIR)$(OPENBLAS_BINARY_DIR)

Deleted: trunk/dports/math/OpenBLAS/files/patch-linkLib.diff
===================================================================
--- trunk/dports/math/OpenBLAS/files/patch-linkLib.diff	2016-02-16 18:59:30 UTC (rev 145766)
+++ trunk/dports/math/OpenBLAS/files/patch-linkLib.diff	2016-02-16 19:09:28 UTC (rev 145767)
@@ -1,12 +0,0 @@
---- Makefile.install.orig	2014-08-31 16:06:28.000000000 +0900
-+++ Makefile.install	2014-08-31 16:09:09.000000000 +0900
-@@ -79,8 +79,7 @@
- ifeq ($(OSNAME), Darwin)
- 	@-cp $(LIBDYNNAME) $(DESTDIR)$(OPENBLAS_LIBRARY_DIR)
- 	@-install_name_tool -id $(DESTDIR)$(OPENBLAS_LIBRARY_DIR)/$(LIBDYNNAME) $(DESTDIR)$(OPENBLAS_LIBRARY_DIR)/$(LIBDYNNAME)
--	@cd $(DESTDIR)$(OPENBLAS_LIBRARY_DIR) ; \
--	ln -fs $(LIBDYNNAME) $(LIBPREFIX).dylib
-+	@-ln -fs $(OPENBLAS_LIBRARY_DIR)/$(LIBDYNNAME) $(DESTDIR)$(OPENBLAS_LIBRARY_DIR)/$(LIBPREFIX).dylib
- endif
- ifeq ($(OSNAME), WINNT)
- 	@-cp $(LIBDLLNAME) $(OPENBLAS_BINARY_DIR)

Copied: trunk/dports/math/OpenBLAS/files/patch-linkLib.release.diff (from rev 145766, trunk/dports/math/OpenBLAS/files/patch-linkLib.diff)
===================================================================
--- trunk/dports/math/OpenBLAS/files/patch-linkLib.release.diff	                        (rev 0)
+++ trunk/dports/math/OpenBLAS/files/patch-linkLib.release.diff	2016-02-16 19:09:28 UTC (rev 145767)
@@ -0,0 +1,12 @@
+--- Makefile.install.orig
++++ Makefile.install
+@@ -83,8 +83,7 @@
+ ifeq ($(OSNAME), Darwin)
+ 	@-cp $(LIBDYNNAME) $(DESTDIR)$(OPENBLAS_LIBRARY_DIR)
+ 	@-install_name_tool -id $(DESTDIR)$(OPENBLAS_LIBRARY_DIR)/$(LIBDYNNAME) $(DESTDIR)$(OPENBLAS_LIBRARY_DIR)/$(LIBDYNNAME)
+-	@cd $(DESTDIR)$(OPENBLAS_LIBRARY_DIR) ; \
+-	ln -fs $(LIBDYNNAME) $(LIBPREFIX).dylib
++	@-ln -fs $(OPENBLAS_LIBRARY_DIR)/$(LIBDYNNAME) $(DESTDIR)$(OPENBLAS_LIBRARY_DIR)/$(LIBPREFIX).dylib
+ endif
+ ifeq ($(OSNAME), WINNT)
+ 	@-cp $(LIBDLLNAME) $(DESTDIR)$(OPENBLAS_BINARY_DIR)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160216/59c38d44/attachment.html>


More information about the macports-changes mailing list