aboutsummaryrefslogtreecommitdiffstats
path: root/math/superlu/files
diff options
context:
space:
mode:
authormaho <maho@FreeBSD.org>2012-03-14 09:44:04 +0800
committermaho <maho@FreeBSD.org>2012-03-14 09:44:04 +0800
commit2d8dc2f1bfee7fc7c560f2a59d55892cbe093208 (patch)
treecbde718bd759144b7b6715dbb8af281abfe0574f /math/superlu/files
parent98b7821ac1b437ea9cd9e69ab2faa1f080c3f7b1 (diff)
downloadfreebsd-ports-gnome-2d8dc2f1bfee7fc7c560f2a59d55892cbe093208.tar.gz
freebsd-ports-gnome-2d8dc2f1bfee7fc7c560f2a59d55892cbe093208.tar.zst
freebsd-ports-gnome-2d8dc2f1bfee7fc7c560f2a59d55892cbe093208.zip
also build shared object instead of only the static archive,
and bump portrevision. PR: 166010 Submitted by: Oliver Hartmann <ohartman@zedat.fu-berlin.de> Feature safe: yes
Diffstat (limited to 'math/superlu/files')
-rw-r--r--math/superlu/files/patch-make.inc24
1 files changed, 14 insertions, 10 deletions
diff --git a/math/superlu/files/patch-make.inc b/math/superlu/files/patch-make.inc
index d59436f52450..18ab9f7ccda6 100644
--- a/math/superlu/files/patch-make.inc
+++ b/math/superlu/files/patch-make.inc
@@ -1,15 +1,19 @@
---- make.inc.orig 2006-01-01 18:52:00.000000000 -0500
-+++ make.inc 2008-06-19 22:08:49.000000000 -0500
-@@ -19,7 +19,7 @@
+--- make.inc.orig 2006-01-02 00:52:00.000000000 +0100
++++ make.inc 2012-03-13 14:59:15.000000000 +0100
+@@ -19,22 +19,23 @@
#
TMGLIB = libtmglib.a
SUPERLULIB = libsuperlu_3.0.a
-BLASLIB = ../libblas.a
-+BLASLIB = %%BLAS%%
++SUPERLULIB_SHARED = libsuperlu_3.0.so
++BLASLIB = -L/usr/local/lib -lblas
#
# The archiver and the flag(s) to use when building archive (library)
-@@ -29,12 +29,12 @@
+ # If your system has no ranlib, set RANLIB = echo.
+ #
+-ARCH = ar
++ARCMD = ar
ARCHFLAGS = cr
RANLIB = ranlib
@@ -19,11 +23,11 @@
-FFLAGS = -O
-LOADER = cc
-LOADOPTS = -xO3
-+CC = %%CC%%
-+CFLAGS = %%CFLAGS%%
-+FORTRAN = %%FC%%
-+FFLAGS = %%FFLAGS%%
-+LOADER = %%FC%%
++CC ?= gcc46
++CFLAGS ?= -O2 -pipe -O2 -fno-strict-aliasing -pipe -O3 -pipe -fno-strict-aliasing -march=native -Wl,-rpath=/usr/local/lib/gcc46
++FORTRAN ?= gfortran46
++FFLAGS ?= -O -Wl,-rpath=/usr/local/lib/gcc46
++LOADER ?= gfortran46
+LOADOPTS =
#