From owner-svn-ports-head@freebsd.org Mon Dec 12 20:57:52 2016 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E5A65C6EE5C; Mon, 12 Dec 2016 20:57:52 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id AF1A91ADE; Mon, 12 Dec 2016 20:57:52 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id uBCKvpgl027226; Mon, 12 Dec 2016 20:57:51 GMT (envelope-from sunpoet@FreeBSD.org) Received: (from sunpoet@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id uBCKvpT2027225; Mon, 12 Dec 2016 20:57:51 GMT (envelope-from sunpoet@FreeBSD.org) Message-Id: <201612122057.uBCKvpT2027225@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: sunpoet set sender to sunpoet@FreeBSD.org using -f From: Sunpoet Po-Chuan Hsieh Date: Mon, 12 Dec 2016 20:57:51 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r428435 - head/science/cdo X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Dec 2016 20:57:53 -0000 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