[SCM] an open source computer algebra system branch, debian, updated. 135ce5a283b0c913d2722c86fa55fffa2e22f4db

Bernhard R. Link brlink at debian.org
Sun Feb 19 20:34:12 UTC 2012


The following commit has been merged in the debian branch:
commit d9884bcc5309a6db6da8a8233cb3c46a4c16fafb
Author: Bernhard R. Link <brlink at debian.org>
Date:   Sun Feb 19 21:25:54 2012 +0100

    append suffix to soname
    
    based on old patch most likely from sage,
    but merged with upstream changes and not using "`",
    as make does not know about the embedded spaces...

diff --git a/Singular/Makefile.in b/Singular/Makefile.in
index 3bc2c32..3885c42 100644
--- a/Singular/Makefile.in
+++ b/Singular/Makefile.in
@@ -137,6 +137,7 @@ LIBSINGULAR_LIBS =-lsingfac -lsingcf -lntl -lreadline -lgmp -lomalloc
 SO_SUFFIX = so
 
 LIBSINGULAR_FLAGS = -shared
+LIBSINGULAR_NAME = libsingular-$(shell cat ../VERSION).so
 LIBSINGULAR_LD = $(CXX)
 
 # correct suffix for dynamic linking
@@ -149,6 +150,7 @@ endif
 
 ifeq ($(SINGUNAME),x86_64Mac-darwin)
 SO_SUFFIX        = dylib
+LIBSINGULAR_NAME = libsingular.dylib
 MODULE_SUFFIX    = bundle
 LIBSINGULAR_FLAGS = -single_module
 LIBSINGULAR_LD = $(LD)
@@ -157,6 +159,7 @@ endif
 ifeq ($(SINGUNAME),ppcMac-darwin)
 MACOSX_DEPLOYMENT_TARGET=10.4
 SO_SUFFIX        = dylib
+LIBSINGULAR_NAME = libsingular.dylib
 MODULE_SUFFIX    = bundle
 LIBSINGULAR_FLAGS = -single_module
 LIBSINGULAR_LD = $(LD)
@@ -165,6 +168,7 @@ endif
 ifeq ($(SINGUNAME),ix86-Win)
 SO_SUFFIX = dll
 MODULE_SUFFIX    = dll
+LIBSINGULAR_NAME = libsingular.dll
 LIBSINGULAR_FLAGS = -shared
 LIBSINGULAR_LIBS = -lsingfac -lsingcf -lntl -lreadline -lgmp -lomalloc  -lhtmlhelp
 endif

-- 
an open source computer algebra system



More information about the debian-science-commits mailing list