[Midnightbsd-cvs] mports [21462] trunk/math/lapack/files: add patches

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Thu May 26 23:14:00 EDT 2016


Revision: 21462
          http://svnweb.midnightbsd.org/mports/?rev=21462
Author:   laffer1
Date:     2016-05-26 23:14:00 -0400 (Thu, 26 May 2016)
Log Message:
-----------
add patches

Added Paths:
-----------
    trunk/math/lapack/files/patch-Makefile
    trunk/math/lapack/files/patch-lapacke+Makefile
    trunk/math/lapack/files/patch-lapacke+src+Makefile

Added: trunk/math/lapack/files/patch-Makefile
===================================================================
--- trunk/math/lapack/files/patch-Makefile	                        (rev 0)
+++ trunk/math/lapack/files/patch-Makefile	2016-05-27 03:14:00 UTC (rev 21462)
@@ -0,0 +1,11 @@
+--- Makefile.orig	2012-09-09 00:53:46.000000000 +0900
++++ Makefile	2012-09-09 00:53:57.000000000 +0900
+@@ -23,7 +23,7 @@
+ lapacklib:	lapack_install
+ 	( cd SRC; $(MAKE) )
+ 
+-lapackelib: lapacklib
++lapackelib: 
+ 	( cd lapacke; $(MAKE) )
+ 
+ lapacke_example: lapackelib


Property changes on: trunk/math/lapack/files/patch-Makefile
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/math/lapack/files/patch-lapacke+Makefile
===================================================================
--- trunk/math/lapack/files/patch-lapacke+Makefile	                        (rev 0)
+++ trunk/math/lapack/files/patch-lapacke+Makefile	2016-05-27 03:14:00 UTC (rev 21462)
@@ -0,0 +1,30 @@
+--- lapacke/Makefile.orig	2012-09-09 00:48:05.000000000 +0900
++++ lapacke/Makefile	2012-09-09 00:48:54.000000000 +0900
+@@ -45,20 +45,20 @@
+ all: lapacke 
+ 
+ lapacke:
+-	cd include && cp lapacke_mangling_with_flags.h lapacke_mangling.h
+-	cd src && $(MAKE)
+-	cd utils && $(MAKE)
++	cd ${.CURDIR}/include && cp lapacke_mangling_with_flags.h lapacke_mangling.h
++	cd ${.CURDIR}/src && $(MAKE)
++	cd ${.CURDIR}/utils && $(MAKE)
+ 
+ lapacke_example:
+-	cd example && $(MAKE)
++	cd ${.CURDIR}/example && $(MAKE)
+ 	
+ clean: cleanlib
+ 
+ cleanlib:
+-	cd src && $(MAKE) clean
+-	cd utils && $(MAKE) clean
++	cd ${.CURDIR}/src && $(MAKE) clean
++	cd ${.CURDIR}/utils && $(MAKE) clean
+ 
+ cleanall: clean
+ 	rm -f $(LAPACKE)
+-	cd example && $(MAKE) clean
++	cd ${.CURDIR}/example && $(MAKE) clean
+ 


Property changes on: trunk/math/lapack/files/patch-lapacke+Makefile
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/math/lapack/files/patch-lapacke+src+Makefile
===================================================================
--- trunk/math/lapack/files/patch-lapacke+src+Makefile	                        (rev 0)
+++ trunk/math/lapack/files/patch-lapacke+src+Makefile	2016-05-27 03:14:00 UTC (rev 21462)
@@ -0,0 +1,29 @@
+--- lapacke/src/Makefile.orig	2012-04-03 05:16:32.000000000 +0900
++++ lapacke/src/Makefile	2012-09-09 01:28:00.000000000 +0900
+@@ -2042,19 +2042,23 @@
+ 
+ ALLOBJ = $(SRC_OBJ) $(MATGEN_OBJ) 
+ 
+-ifdef USEXBLAS
++.ifdef USEXBLAS
+ ALLXOBJ = $(SXLASRC) $(DXLASRC) $(CXLASRC) $(ZXLASRC)
+-endif
++.endif
+ 
+ 
+ OBJ_FILES := $(C_FILES:.o=.o)
+ 
+-all: ../../$(LAPACKELIB)
++all: ../../$(LAPACKELIB) ../../$(LAPACKETMGLIB)
+ 
+ ../../$(LAPACKELIB): $(ALLOBJ) $(ALLXOBJ)
+ 	$(ARCH) $(ARCHFLAGS) ../../$(LAPACKELIB) $(ALLOBJ) $(ALLXOBJ)
+ 	$(RANLIB) ../../$(LAPACKELIB)
+ 
++../../$(LAPACKETMGLIB): $(MATGEN_OBJ)
++	$(ARCH) $(ARCHFLAGS) ../../$(LAPACKETMGLIB) $(MATGEN_OBJ)
++	$(RANLIB) ../../$(LAPACKETMGLIB)
++
+ .c.o:
+ 	$(CC) -c $(CFLAGS) -I ../include -o $@ $<
+ 


Property changes on: trunk/math/lapack/files/patch-lapacke+src+Makefile
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property


More information about the Midnightbsd-cvs mailing list