kfreebsd
authorDebian Science Team <debian-science-maintainers@lists.alioth.debian.org>
Thu, 31 Oct 2019 12:46:13 +0000 (12:46 +0000)
committerMo Zhou <cdluminate@gmail.com>
Thu, 31 Oct 2019 12:46:13 +0000 (12:46 +0000)
Gbp-Pq: Name kfreebsd.patch

Makefile.install
Makefile.system
exports/Makefile

index 8070b4729af0cc0a789ea5ce74c67b4592321262..f2044e49409015a0e97f66826f9e6f845286252d 100644 (file)
@@ -67,14 +67,14 @@ endif
 #for install shared library
 ifneq ($(NO_SHARED),1)
        @echo Copying the shared library to $(DESTDIR)$(OPENBLAS_LIBRARY_DIR)
-ifeq ($(OSNAME), $(filter $(OSNAME),Linux SunOS Android Haiku))
+ifeq ($(OSNAME), $(filter $(OSNAME),Linux SunOS Android Haiku FreeBSD))
        @install -pm755 $(LIBSONAME) "$(DESTDIR)$(OPENBLAS_LIBRARY_DIR)"
        @cd "$(DESTDIR)$(OPENBLAS_LIBRARY_DIR)" ; \
        ln -fs $(LIBSONAME) $(LIBPREFIX).so ; \
        ln -fs $(LIBSONAME) $(LIBPREFIX).so.$(MAJOR_VERSION)
 endif
 
-ifeq ($(OSNAME), $(filter $(OSNAME),FreeBSD OpenBSD NetBSD DragonFly))
+ifeq ($(OSNAME), $(filter $(OSNAME),OpenBSD NetBSD DragonFly))
        @cp $(LIBSONAME) "$(DESTDIR)$(OPENBLAS_LIBRARY_DIR)"
        @cd "$(DESTDIR)$(OPENBLAS_LIBRARY_DIR)" ; \
        ln -fs $(LIBSONAME) $(LIBPREFIX).so
index 6addbdad5fecddd2db89e5193a094fece5a26168..92f4ae5f7ffd664c52f7ff27ae585a5172f3941e 100644 (file)
@@ -292,7 +292,7 @@ ifeq ($(OSNAME), NetBSD)
 MD5SUM = md5 -n
 endif
 
-ifeq ($(OSNAME), Linux)
+ifeq ($(OSNAME), $(filter $(OSNAME),Linux FreeBSD))
 EXTRALIB       += -lm
 NO_EXPRECISION = 1
 endif
index d32e449dfa3cd314c1abd8af07c1707e94f5bd6d..bd35b34b98a7ad22a1165c231e6daac228438dce 100644 (file)
@@ -126,7 +126,7 @@ endif
 dllinit.$(SUFFIX) : dllinit.c
        $(CC) $(CFLAGS) -c -o $(@F) -s $<
 
-ifeq ($(OSNAME), $(filter $(OSNAME),Linux SunOS Android Haiku))
+ifeq ($(OSNAME), $(filter $(OSNAME),Linux SunOS Android Haiku FreeBSD))
 
 so : ../$(LIBSONAME)
 
@@ -171,7 +171,7 @@ endif
 endif
 
 #http://stackoverflow.com/questions/7656425/makefile-ifeq-logical-or
-ifeq ($(OSNAME), $(filter $(OSNAME),FreeBSD OpenBSD NetBSD DragonFly))
+ifeq ($(OSNAME), $(filter $(OSNAME),OpenBSD NetBSD DragonFly))
 
 so : ../$(LIBSONAME)