kfreebsd
authorDebian Science Team <debian-science-maintainers@lists.alioth.debian.org>
Sat, 9 Feb 2019 09:38:22 +0000 (09:38 +0000)
committerSébastien Villemot <sebastien@debian.org>
Sat, 9 Feb 2019 09:38:22 +0000 (09:38 +0000)
Gbp-Pq: Name kfreebsd.patch

Makefile.install
Makefile.system
exports/Makefile

index 069c96c6aac866bbc7185797491c547c61c46f23..ed6b2ba639f1f34c23b025e7907a4b25bd26129e 100644 (file)
@@ -67,14 +67,14 @@ endif
 #for install shared library
 ifndef NO_SHARED
        @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 fb8e7ea4192dc52d7cfe0929105277714eed5dbf..43621d4b0e22aacf93e117f027c4739a437f827e 100644 (file)
@@ -272,7 +272,7 @@ ifeq ($(OSNAME), NetBSD)
 MD5SUM = md5 -n
 endif
 
-ifeq ($(OSNAME), Linux)
+ifeq ($(OSNAME), $(filter $(OSNAME),Linux FreeBSD))
 EXTRALIB       += -lm
 NO_EXPRECISION = 1
 endif
index 3a5f77db3da8a9b02ec0ce63f5e54726e7b1cf93..77a698073f7bb389fb7912b1990f6a2344908948 100644 (file)
@@ -122,7 +122,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)
 
@@ -158,7 +158,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)