[csw-devel] SF.net SVN: gar:[19546] csw/mgar/pkg/lang-python/numpy/trunk/Makefile
bdwalton at users.sourceforge.net
bdwalton at users.sourceforge.net
Tue Oct 30 22:23:41 CET 2012
Revision: 19546
http://gar.svn.sourceforge.net/gar/?rev=19546&view=rev
Author: bdwalton
Date: 2012-10-30 21:23:40 +0000 (Tue, 30 Oct 2012)
Log Message:
-----------
lang-python/numpy/trunk: use -xnorunpath and also override the RPATH warning
Modified Paths:
--------------
csw/mgar/pkg/lang-python/numpy/trunk/Makefile
Modified: csw/mgar/pkg/lang-python/numpy/trunk/Makefile
===================================================================
--- csw/mgar/pkg/lang-python/numpy/trunk/Makefile 2012-10-30 20:34:20 UTC (rev 19545)
+++ csw/mgar/pkg/lang-python/numpy/trunk/Makefile 2012-10-30 21:23:40 UTC (rev 19546)
@@ -29,12 +29,13 @@
SUNPERF_SO_i386 = 3
SUNPERF_SO = $(SUNPERF_SO_$(GARCH))
-
RUNTIME_DEP_PKGS_CSWpy-numpy += CSWlibpython2-6-1-0
RUNTIME_DEP_PKGS_CSWpy-numpy += CSWlibsunperf$(SUNPERF_SO)
LICENSE = LICENSE.txt
+EXTRA_CFLAGS = -xnorunpath
+
export ATLAS = None
export BLAS = $(CC_HOME)/lib/libsunperf.so
export LAPACK = $(libdir)/libsunmath.so
@@ -46,4 +47,9 @@
REINPLACE_USRLOCAL += $(SITE_PACKAGES)/numpy/distutils/system_info.py
REINPLACE_WHEN_USRLOCAL = postinstall
+# because we need to force the use of libsunperf from (initially) the
+# studio install dir, the RPATH gets munged, regardless of
+# -xnorunpath. Our library path takes precedence though so we do not relay on things from studio at runtime.
+CHECKPKG_OVERRIDES_CSWpy-numpy += bad-rpath-entry|/opt/SUNWspro/lib
+
include gar/category.mk
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the devel
mailing list