Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Dec 2016 20:57:51 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r428435 - head/science/cdo
Message-ID:  <201612122057.uBCKvpT2027225@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Mon Dec 12 20:57:51 2016
New Revision: 428435
URL: https://svnweb.freebsd.org/changeset/ports/428435

Log:
  - Fix build on FreeBSD 9 though I cannot reproduce the failure on my poudriere
  - Add missing USES=execinfo

Modified:
  head/science/cdo/Makefile

Modified: head/science/cdo/Makefile
==============================================================================
--- head/science/cdo/Makefile	Mon Dec 12 20:57:47 2016	(r428434)
+++ head/science/cdo/Makefile	Mon Dec 12 20:57:51 2016	(r428435)
@@ -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
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201612122057.uBCKvpT2027225>