git: cf289780363b - 2021Q3 - astro/siril: Fix libcurl dysfunction by adding the CURL option and enabling it properly

Yuri Victorovich yuri at FreeBSD.org
Thu Aug 12 17:38:50 UTC 2021


The branch 2021Q3 has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=cf289780363b49401b0858cc35c4185f605eb02a

commit cf289780363b49401b0858cc35c4185f605eb02a
Author:     Yuri Victorovich <yuri at FreeBSD.org>
AuthorDate: 2021-08-12 17:35:02 +0000
Commit:     Yuri Victorovich <yuri at FreeBSD.org>
CommitDate: 2021-08-12 17:38:46 +0000

    astro/siril: Fix libcurl dysfunction by adding the CURL option and enabling it properly
    
    Reported by:    Andreas Kempe <kempe at lysator.liu.se> (via e-mail)
    
    (cherry picked from commit 5114fbd567a30499953b95d2e7f480832652d218)
---
 astro/siril/Makefile | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/astro/siril/Makefile b/astro/siril/Makefile
index 48b9cc18eb56..531f581a3300 100644
--- a/astro/siril/Makefile
+++ b/astro/siril/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	siril
 DISTVERSION=	0.99.10.1
+PORTREVISION=	1
 CATEGORIES=	astro graphics
 MASTER_SITES=	https://free-astro.org/download/
 
@@ -15,7 +16,6 @@ BUILD_DEPENDS=	cmake:devel/cmake
 LIB_DEPENDS=	libavformat.so:multimedia/ffmpeg \
 		libcfitsio.so:astro/cfitsio \
 		libconfig.so:devel/libconfig \
-		libcurl.so:ftp/curl \
 		libexiv2.so:graphics/exiv2 \
 		libffms2.so:multimedia/ffms2 \
 		libfftw3.so:math/fftw3 \
@@ -41,9 +41,10 @@ INSTALLS_ICONS=	yes
 
 BINARY_ALIAS=	git=false
 
-OPTIONS_DEFINE=		OPENMP
-OPTIONS_DEFAULT=	OPENMP
+OPTIONS_DEFINE=		CURL OPENMP
+OPTIONS_DEFAULT=	CURL OPENMP
 
-OPENMP_MESON_OFF=	-Dopenmp=false
+CURL_MESON_YES=		enable-libcurl
+CURL_LIB_DEPENDS=	libcurl.so:ftp/curl
 
 .include <bsd.port.mk>


More information about the dev-commits-ports-branches mailing list