From 6585fa45b0c93408d81482df7ed061cf8fdba7b2 Mon Sep 17 00:00:00 2001 From: Tobias Kortkamp Date: Sun, 20 Oct 2019 08:46:09 +0000 Subject: [PATCH] science/cgribex: Spell SZIP_CONFIGURE_OFF correctly Fix post-configure while here to make it work. --- science/cgribex/Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/science/cgribex/Makefile b/science/cgribex/Makefile index 3131838e892c..1cb244b59024 100644 --- a/science/cgribex/Makefile +++ b/science/cgribex/Makefile @@ -3,6 +3,7 @@ PORTNAME= cgribex PORTVERSION= 1.9.0 +PORTREVISION= 1 CATEGORIES= science MASTER_SITES= https://code.mpimet.mpg.de/attachments/download/15629/ \ LOCAL/sunpoet @@ -29,12 +30,12 @@ GRIB_API_LIB_DEPENDS= libgrib_api.so:science/grib_api JASPER_CONFIGURE_OFF= --without-jasper JASPER_CONFIGURE_ON= --with-jasper=${LOCALBASE} JASPER_LIB_DEPENDS= libjasper.so:graphics/jasper -SZLIB_CONFIGURE_OFF= --without-szlib +SZIP_CONFIGURE_OFF= --without-szlib SZIP_CONFIGURE_ON= --with-szlib=${LOCALBASE} SZIP_LIB_DEPENDS= libsz.so:science/szip post-configure: - @${REINPLACE_CMD} -e 's|-Ino/include||; s|-Lno/lib||' ${WRKSRC}/Makefile ${WRKSRC}/*/Makefile + @${REINPLACE_CMD} -e 's|-Ino/include||g; s|-Lno/lib||g' ${WRKSRC}/Makefile ${WRKSRC}/*/Makefile post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libcgribex.so.0.0.0