[paketler-commits] r72002 - 2009/stable/programming/language/python/numpy

paketler-commits at pardus.org.tr paketler-commits at pardus.org.tr
8 Tem 2009 Çar 12:38:25 EEST


Author: gkmngrgn
Date: Wed Jul  8 12:38:25 2009
New Revision: 72002

Modified:
   2009/stable/programming/language/python/numpy/   (props changed)
   2009/stable/programming/language/python/numpy/actions.py
Log:
fix ldflags.

Modified: 2009/stable/programming/language/python/numpy/actions.py
=================================================================
--- 2009/stable/programming/language/python/numpy/actions.py	(original)
+++ 2009/stable/programming/language/python/numpy/actions.py	Wed Jul  8 12:38:25 2009
@@ -14,18 +14,17 @@
 f2py_docs = "%s/%s/f2py_docs" % (get.docDIR(), get.srcNAME())
 
 def build():
+    shelltools.export("LDFLAGS", "%s -shared" % get.LDFLAGS())
     shelltools.export("Atlas", "None")
-    shelltools.export("LDFLAGS", "-Wl,--as-needed -shared")
 
     pythonmodules.compile(NUMPY_FCONFIG)
 
 def install():
-    shelltools.export("LDFLAGS", "-Wl,--as-needed -shared")
+    shelltools.export("LDFLAGS", "%s -shared" % get.LDFLAGS())
 
     pythonmodules.install(NUMPY_FCONFIG)
 
     pisitools.doman("numpy/f2py/f2py.1")
-
     pisitools.insinto(f2py_docs, "numpy/f2py/docs/*.txt")
     pisitools.remove("/usr/lib/%s/site-packages/numpy/*.txt" % get.curPYTHON())
     pisitools.dodoc("COMPATIBILITY", "DEV_README.txt", "THANKS.txt")


Paketler-commits mesaj listesiyle ilgili daha fazla bilgi