diff options
author | sunpoet <sunpoet@FreeBSD.org> | 2016-12-13 04:57:51 +0800 |
---|---|---|
committer | sunpoet <sunpoet@FreeBSD.org> | 2016-12-13 04:57:51 +0800 |
commit | 58c8e1c41d185cb54ca8b7dcf8fe7a8aa1117c52 (patch) | |
tree | 7454ae47a5d825ced156f8070adcefb2dd632806 | |
parent | 922dc452cacd93ea5905e6de1f33e0f5941728d4 (diff) | |
download | freebsd-ports-gnome-58c8e1c41d185cb54ca8b7dcf8fe7a8aa1117c52.tar.gz freebsd-ports-gnome-58c8e1c41d185cb54ca8b7dcf8fe7a8aa1117c52.tar.zst freebsd-ports-gnome-58c8e1c41d185cb54ca8b7dcf8fe7a8aa1117c52.zip |
- Fix build on FreeBSD 9 though I cannot reproduce the failure on my poudriere
- Add missing USES=execinfo
-rw-r--r-- | science/cdo/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
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 |