[SCM] polybori: Polynomials over Boolean Rings branch, upstream-hg, updated. b4a5cffaa908c53e1d958a42110f8c4dad853aa3

Alexander Dreyer adreyer at gmx.de
Fri Mar 23 08:02:27 UTC 2012


The following commit has been merged in the upstream-hg branch:
commit 1385b91fc8759ac9856ae9df373b3f1c28f4457f
Author: Alexander Dreyer <adreyer at gmx.de>
Date:   Wed Mar 14 12:43:04 2012 +0100

    FIX: install dlls on cygwin executable

diff --git a/README b/README
index d98d77f..67ddc72 100644
--- a/README
+++ b/README
@@ -157,6 +157,8 @@ BOOST_TEST = 'boost_unit_test_framework-mt'
 HAVE_L2H = False
 HAVE_HEVEA = False
 HAVE_TEX4HT = False
+SHLIBVERSIONSUFFIX = False
+DEVEL_LIB_PREFIX = '$EPREFIX' # dlls needs to be placed here?
 
 ====================
 See also: Singular/README
diff --git a/SConstruct b/SConstruct
index ff4273b..9f5047d 100644
--- a/SConstruct
+++ b/SConstruct
@@ -124,6 +124,9 @@ except:
 import os
 
 def FinalizePermissions(targets, perm=None):
+    def isdll(path):
+        return 'dll' in os.path.basename(path).split(os.path.extsep)[1:]
+    
     for src in targets:
         path = str(src)
         if not os.path.islink(path):
@@ -131,7 +134,7 @@ def FinalizePermissions(targets, perm=None):
                 if os.path.isdir(path):
                     perm = 040755
                 else:
-                    if os.access(path, os.X_OK):
+                    if os.access(path, os.X_OK) or isdll(path):
                         perm = 0755
                     else:
                         perm = 0644
@@ -202,7 +205,7 @@ def _moduleflags(env):
     return []
 
 def _relative_rpath(target, env):
-    if not target or env['PLATFORM']=="darwin":
+    if not target or env['PLATFORM'] in ["darwin", "cygwin"]:
         return ''
 
     targetdir = os.path.dirname(env.subst(str(target)))

-- 
polybori: Polynomials over Boolean Rings



More information about the debian-science-commits mailing list