Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 1 Aug 2021 09:47:37 GMT
From:      Wen Heping <wen@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 97f8ce85daf6 - main - math/mdal: Add missing DEPENDS
Message-ID:  <202108010947.1719lb3n020644@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by wen:

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

commit 97f8ce85daf6298187dfe0f13c890308ef0162d6
Author:     Wen Heping <wen@FreeBSD.org>
AuthorDate: 2021-08-01 09:45:55 +0000
Commit:     Wen Heping <wen@FreeBSD.org>
CommitDate: 2021-08-01 09:45:55 +0000

    math/mdal: Add missing DEPENDS
    
    - Find sqlite3 correctly
---
 math/mdal/Makefile | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/math/mdal/Makefile b/math/mdal/Makefile
index 6e7cf15e0b1e..f3698a0aa0ff 100644
--- a/math/mdal/Makefile
+++ b/math/mdal/Makefile
@@ -2,6 +2,7 @@
 
 PORTNAME=	mdal
 DISTVERSION=	0.8.1
+PORTREVISION=	1
 CATEGORIES=	math geography
 
 MAINTAINER=	wen@FreeBSD.org
@@ -13,9 +14,13 @@ LICENSE_FILE=	${WRKSRC}/LICENSE
 BUILD_DEPENDS=	${LOCALBASE}/include/gtest/gtest.h:devel/googletest
 LIB_DEPENDS=	libpdal_base.so:math/pdal \
 		libnetcdf.so:science/netcdf \
-		libsqlite3.so:databases/sqlite3
+		libsqlite3.so:databases/sqlite3 \
+		libgdal.so:graphics/gdal \
+		libhdf5.so:science/hdf5 \
+		libsz.so:science/szip
 
 USES=		cmake localbase
+USE_GNOME=	libxml2
 USE_LDCONFIG=	yes
 
 PLIST_FILES=	bin/mdal_translate \
@@ -29,4 +34,7 @@ GH_ACCOUNT=	lutraconsulting
 GH_PROJECT=	MDAL
 GH_TAGNAME=	release-${DISTVERSION}
 
+CMAKE_ARGS=	-DSQLITE3_INCLUDE_DIRS="${LOCALBASE}/include" \
+		-DSQLITE3_LIBRARY="${LOCALBASE}/lib/libsqlite3.so"
+
 .include <bsd.port.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202108010947.1719lb3n020644>