Skip to content

Commit

Permalink
math/mdal: Add missing DEPENDS
Browse files Browse the repository at this point in the history
- Find sqlite3 correctly
  • Loading branch information
wenheping committed Aug 1, 2021
1 parent 530c0c2 commit 97f8ce8
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion math/mdal/Makefile
Expand Up @@ -2,6 +2,7 @@

PORTNAME= mdal
DISTVERSION= 0.8.1
PORTREVISION= 1
CATEGORIES= math geography

MAINTAINER= wen@FreeBSD.org
Expand All @@ -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 \
Expand All @@ -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>

0 comments on commit 97f8ce8

Please sign in to comment.