From eed79de3290c1cc81430936a3d502c2253ce4e9b Mon Sep 17 00:00:00 2001 From: Sunpoet Po-Chuan Hsieh Date: Mon, 12 Dec 2016 20:57:51 +0000 Subject: - Fix build on FreeBSD 9 though I cannot reproduce the failure on my poudriere - Add missing USES=execinfo --- science/cdo/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'science/cdo') diff --git a/science/cdo/Makefile b/science/cdo/Makefile index 539413af103f..0958a581aa1b 100644 --- a/science/cdo/Makefile +++ b/science/cdo/Makefile @@ -35,7 +35,7 @@ GNU_CONFIGURE= yes INSTALL_TARGET= install-strip TEST_TARGET= check USE_LDCONFIG= yes -USES= gmake libtool localbase pathfix +USES= execinfo gmake libtool localbase pathfix CGRIBEX_CONFIGURE_WITH= cgribex CGRIBEX_LIB_DEPENDS= libcgribex.so:science/cgribex @@ -59,6 +59,7 @@ CFLAGS+= -DPTHREAD_MUTEXATTR_CONDATTR .endif post-patch: + @${REINPLACE_CMD} -e '/^SUBDIRS = / s| contrib||' ${WRKSRC}/Makefile.in @${REINPLACE_CMD} -e 's|$$(libdir)/\($$$$pkgconfigfile\)|${PREFIX}/libdata/\1|' ${WRKSRC}/libcdi/src/Makefile.in @${REINPLACE_CMD} -e 's|unsigned32 |uint32_t |' ${WRKSRC}/libcdi/src/cdilib.c ${WRKSRC}/libcdi/src/util.c -- cgit