Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 6 Apr 2015 02:21:00 +0000 (UTC)
From:      Maho Nakata <maho@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r383402 - head/math/lapack/files
Message-ID:  <201504060221.t362L0B8011455@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: maho
Date: Mon Apr  6 02:21:00 2015
New Revision: 383402
URL: https://svnweb.freebsd.org/changeset/ports/383402

Log:
  Forgot to add some patches.
  
  PR:		199164
  Submitted by:	phd_kimberlite@yahoo.co.jp

Added:
  head/math/lapack/files/patch-Makefile   (contents, props changed)
  head/math/lapack/files/patch-lapacke+Makefile   (contents, props changed)
  head/math/lapack/files/patch-lapacke+src+Makefile   (contents, props changed)

Added: head/math/lapack/files/patch-Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/math/lapack/files/patch-Makefile	Mon Apr  6 02:21:00 2015	(r383402)
@@ -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

Added: head/math/lapack/files/patch-lapacke+Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/math/lapack/files/patch-lapacke+Makefile	Mon Apr  6 02:21:00 2015	(r383402)
@@ -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
+ 

Added: head/math/lapack/files/patch-lapacke+src+Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/math/lapack/files/patch-lapacke+src+Makefile	Mon Apr  6 02:21:00 2015	(r383402)
@@ -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 $@ $<
+ 



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