aboutsummaryrefslogtreecommitdiff
path: root/astro/siril
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2020-11-17 08:36:25 +0000
committerYuri Victorovich <yuri@FreeBSD.org>2020-11-17 08:36:25 +0000
commita908650fe791743d5a4d0589f23a6e96a35a3b0d (patch)
tree5770dfc8ad4a07d08c2f7d4c879db7a1263e7bf4 /astro/siril
parentba3accfc41cac829a15436a31a340fd3ae9f0387 (diff)
downloadports-a908650fe791743d5a4d0589f23a6e96a35a3b0d.tar.gz
ports-a908650fe791743d5a4d0589f23a6e96a35a3b0d.zip
astro/siril: Fix run-time error: Undefined symbol "cblas_dcopy"
This was because math/gsl installs 2 libraries, libgsl.so and libgslcblas.so, the former of which should depend on the latter one. Instead, the gsl package through its pkg-config script asks users to link to both libraries. This fails when the link line also has -Wl,--as-needed which causes the linker to drop the second library. In such case the above error is triggered at runtime. Also update WWW. PR: 251206 Submitted by: Ned Leitch <ned.leitch+freebsd@gmail.com> MFH: 2020Q4
Notes
Notes: svn path=/head/; revision=555541
Diffstat (limited to 'astro/siril')
-rw-r--r--astro/siril/Makefile1
-rw-r--r--astro/siril/files/patch-Makefile.am11
-rw-r--r--astro/siril/files/patch-meson.build10
-rw-r--r--astro/siril/pkg-descr2
4 files changed, 12 insertions, 12 deletions
diff --git a/astro/siril/Makefile b/astro/siril/Makefile
index 921e9359f9db..983b4c20f1e2 100644
--- a/astro/siril/Makefile
+++ b/astro/siril/Makefile
@@ -2,6 +2,7 @@
PORTNAME= siril
DISTVERSION= 0.99.6
+PORTREVISION= 1
CATEGORIES= astro graphics
MASTER_SITES= https://free-astro.org/download/
diff --git a/astro/siril/files/patch-Makefile.am b/astro/siril/files/patch-Makefile.am
deleted file mode 100644
index 8ae6c14c7e5a..000000000000
--- a/astro/siril/files/patch-Makefile.am
+++ /dev/null
@@ -1,11 +0,0 @@
---- Makefile.am.orig 2019-05-27 09:16:07 UTC
-+++ Makefile.am
-@@ -21,7 +21,7 @@ scripts_DATA = scripts/DSLR_preprocessing.ssf \
- 3rdparty/scripts/en/DSLR_Preprocessing_NoFlat_NoDark.ssf \
- 3rdparty/scripts/en/DSLR_Preprocessing_NoFlat.ssf
-
--doc_DATA = AUTHORS \
-+#doc_DATA = AUTHORS \
- LICENSE.md
-
- man_MANS = siril.1.gz
diff --git a/astro/siril/files/patch-meson.build b/astro/siril/files/patch-meson.build
new file mode 100644
index 000000000000..9318f2816d79
--- /dev/null
+++ b/astro/siril/files/patch-meson.build
@@ -0,0 +1,10 @@
+--- meson.build.orig 2020-09-22 20:01:48 UTC
++++ meson.build
+@@ -123,6 +123,7 @@ if platform_linux
+ elif platform_bsd
+ siril_link_arg += '-rdynamic'
+ siril_link_arg += '-lexecinfo'
++ siril_link_arg += '-Wl,--no-as-needed' # workaround for https://gitlab.com/free-astro/siril/-/issues/614 (Bug#251206)
+ elif platform_windows
+ #TODO: Do Meson provide more elegant way?
+ siril_link_arg += '-Wl,--export-all-symbols'
diff --git a/astro/siril/pkg-descr b/astro/siril/pkg-descr
index bc9f2effc9f7..06a0f3438357 100644
--- a/astro/siril/pkg-descr
+++ b/astro/siril/pkg-descr
@@ -8,4 +8,4 @@ interface than Iris' command line as well as more modern and powerful processing
algorithms, but it is not yet as automated as DeepSkyStacker or Registax. It
also provides a basic command line to access various processing functions.
-WWW: https://free-astro.org/index.php/Siril
+WWW: https://www.siril.org/