summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDima Panov <fluffy@FreeBSD.org>2022-02-18 12:04:50 +0300
committerDima Panov <fluffy@FreeBSD.org>2022-02-18 12:04:50 +0300
commitdc11e63efe515ef54ecc12a8dd8c7cb678c8101b (patch)
tree03b33bc9ce61c15077cedb750758c50c12faf1a3
parentccdb7b7b9e0272bfd830f72657ccb9eca01af225 (diff)
downloadfreebsd-ports-dc11e63efe515ef54ecc12a8dd8c7cb678c8101b.zip
science/grib_api: use openjpeg15 includes in Right Way (tm)
Sponsored by: Netzkommune GmbH
-rw-r--r--science/grib_api/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/science/grib_api/Makefile b/science/grib_api/Makefile
index 6117663fedbf..eba95db0dbfb 100644
--- a/science/grib_api/Makefile
+++ b/science/grib_api/Makefile
@@ -3,7 +3,7 @@
PORTNAME= grib_api
PORTVERSION= 1.28.0
DISTVERSIONSUFFIX= -Source
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= science
MASTER_SITES= https://confluence.ecmwf.int/download/attachments/3473437/ \
LOCAL/sunpoet
@@ -34,6 +34,7 @@ USE_LDCONFIG= yes
JASPER_CONFIGURE_ON= --with-jasper=${LOCALBASE}
JASPER_LIB_DEPENDS= libjasper.so:graphics/jasper
+OPENJPEG_CFLAGS= -I${LOCALBASE}/include/openjpeg-1.5
OPENJPEG_CONFIGURE_ON= --with-openjpeg=${LOCALBASE}
OPENJPEG_LIB_DEPENDS= libopenjpeg.so:graphics/openjpeg15