--- a/components/libgsl/Makefile Thu Feb 04 12:45:22 2016 -0600
+++ b/components/libgsl/Makefile Fri Feb 05 11:09:10 2016 -0800
@@ -18,7 +18,7 @@
#
# CDDL HEADER END
#
-# Copyright (c) 2015, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2015, 2016, Oracle and/or its affiliates. All rights reserved.
#
include ../../make-rules/shared-macros.mk
@@ -39,6 +39,19 @@
include $(WS_MAKE_RULES)/configure.mk
include $(WS_MAKE_RULES)/ips.mk
+# NOTE:
+# The libgsl package on Solaris is getting GSL CBLAS routines from
+# libsunperf.so. Programs wishing to use this functionality should use the
+# /usr/include/sunperf.h header file for the associated definitions and
+# function prototypes and link against -lsunperf.
+#
+# To retain compatibility with libgsl on other platforms, and to require
+# no changes to FOSS software being ported to Solaris, the libgsl package
+# manifest will also include the /usr/include/gsl/gsl_cblas.h header file
+# and provide links from /usr/lib/libgslcblas.so and
+# /usr/lib/$(MACH64)/libgslcblas.so to their equivalent libsunperf.so
+# library files.
+
# By default, tests in each GSL sub-directory are linked statically against
# a set of .la files. We don't deliver those in the GSL package, so we
# adjust all the tests to link against the dynamic GSL library instead.
--- a/components/libgsl/libgsl.p5m Thu Feb 04 12:45:22 2016 -0600
+++ b/components/libgsl/libgsl.p5m Fri Feb 05 11:09:10 2016 -0800
@@ -18,7 +18,7 @@
#
# CDDL HEADER END
#
-# Copyright (c) 2015, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2015, 2016, Oracle and/or its affiliates. All rights reserved.
#
<transform file path=usr.*/man/.+ -> default mangler.man.stability "pass-through volatile">
@@ -57,6 +57,7 @@
file path=usr/include/gsl/gsl_block_ulong.h
file path=usr/include/gsl/gsl_block_ushort.h
file path=usr/include/gsl/gsl_bspline.h
+file cblas/gsl_cblas.h path=usr/include/gsl/gsl_cblas.h
file path=usr/include/gsl/gsl_cdf.h
file path=usr/include/gsl/gsl_chebyshev.h
file path=usr/include/gsl/gsl_check_range.h
@@ -267,10 +268,12 @@
link path=usr/lib/$(MACH64)/libgsl.so target=libgsl.so.19.0.0
link path=usr/lib/$(MACH64)/libgsl.so.19 target=libgsl.so.19.0.0
file path=usr/lib/$(MACH64)/libgsl.so.19.0.0
+link path=usr/lib/$(MACH64)/libgslcblas.so target=libsunperf.so
file path=usr/lib/$(MACH64)/pkgconfig/gsl.pc
link path=usr/lib/libgsl.so target=libgsl.so.19.0.0
link path=usr/lib/libgsl.so.19 target=libgsl.so.19.0.0
file path=usr/lib/libgsl.so.19.0.0
+link path=usr/lib/libgslcblas.so target=libsunperf.so
file path=usr/lib/pkgconfig/gsl.pc
file path=usr/share/aclocal/gsl.m4
file path=usr/share/info/gsl-ref.info