git: 97f8ce85daf6 - main - math/mdal: Add missing DEPENDS

Wen Heping wen at FreeBSD.org
Sun Aug 1 09:47:38 UTC 2021


The branch main has been updated by wen:

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

commit 97f8ce85daf6298187dfe0f13c890308ef0162d6
Author:     Wen Heping <wen at FreeBSD.org>
AuthorDate: 2021-08-01 09:45:55 +0000
Commit:     Wen Heping <wen at 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 at 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>


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