summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2010-11-03 07:02:33 +0000
committerJeroen Roovers <jer@gentoo.org>2010-11-03 07:02:33 +0000
commitb38b9790d4e9fa4904cac07a5bcf5ea80cb40554 (patch)
treeaf9152000821e03a883fe4f31f85a70996b97c89 /sci-libs/fftw/files
parentRemove old beta version (diff)
downloadhistorical-b38b9790d4e9fa4904cac07a5bcf5ea80cb40554.tar.gz
historical-b38b9790d4e9fa4904cac07a5bcf5ea80cb40554.tar.bz2
historical-b38b9790d4e9fa4904cac07a5bcf5ea80cb40554.zip
Respect CC (bug #343945).
Package-Manager: portage-2.1.9.24/cvs/Linux i686
Diffstat (limited to 'sci-libs/fftw/files')
-rw-r--r--sci-libs/fftw/files/fftw-2.1.5-cc.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/sci-libs/fftw/files/fftw-2.1.5-cc.patch b/sci-libs/fftw/files/fftw-2.1.5-cc.patch
new file mode 100644
index 000000000000..aa5c6db038c8
--- /dev/null
+++ b/sci-libs/fftw/files/fftw-2.1.5-cc.patch
@@ -0,0 +1,19 @@
+--- a/configure.in
++++ b/configure.in
+@@ -25,6 +25,8 @@
+ AC_ARG_WITH(gcc, [ --with-gcc use gcc instead of the native compiler cc], ok=$withval, ok=no)
+ if test "$ok" = "yes"; then
+ CC=gcc
++else
++ CC=$withval
+ fi
+
+ AC_ARG_ENABLE(float, [ --enable-float compile fftw for single precision], enable_float=$enableval, enable_float=no)
+@@ -96,6 +96,7 @@
+ AM_PROG_LIBTOOL
+ AC_CHECK_PROG(PERL, perl, perl, echo perl)
+ AC_SUBST(PERL)
++AC_SUBST(CC)
+
+ dnl -----------------------------------------------------------------------
+