From owner-svn-ports-all@freebsd.org Mon Sep 7 15:25:26 2015 Return-Path: Delivered-To: svn-ports-all@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 420459CB3AF; Mon, 7 Sep 2015 15:25:26 +0000 (UTC) (envelope-from danfe@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2001:1900:2254:2068::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 331711057; Mon, 7 Sep 2015 15:25:26 +0000 (UTC) (envelope-from danfe@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.70]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id t87FPQQo003159; Mon, 7 Sep 2015 15:25:26 GMT (envelope-from danfe@FreeBSD.org) Received: (from danfe@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id t87FPQPb003158; Mon, 7 Sep 2015 15:25:26 GMT (envelope-from danfe@FreeBSD.org) Message-Id: <201509071525.t87FPQPb003158@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: danfe set sender to danfe@FreeBSD.org using -f From: Alexey Dokuchaev Date: Mon, 7 Sep 2015 15:25:26 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r396279 - head/textproc/google-ctemplate X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Sep 2015 15:25:26 -0000 Author: danfe Date: Mon Sep 7 15:25:25 2015 New Revision: 396279 URL: https://svnweb.freebsd.org/changeset/ports/396279 Log: - Unbreak the build on big-endian architectures (particularly, on PowerPC) - Add `--disable-silent-rules' option to CONFIGURE_ARGS to help debugging - Simplify `tests' target and rename to our more standard `regression-test' Modified: head/textproc/google-ctemplate/Makefile Modified: head/textproc/google-ctemplate/Makefile ============================================================================== --- head/textproc/google-ctemplate/Makefile Mon Sep 7 15:19:18 2015 (r396278) +++ head/textproc/google-ctemplate/Makefile Mon Sep 7 15:25:25 2015 (r396279) @@ -14,24 +14,27 @@ COMMENT= Simple but powerful template la OPTIONS_DEFINE= DOCS -GNU_CONFIGURE= yes USES= libtool pathfix pkgconfig shebangfix +GNU_CONFIGURE= yes +CONFIGURE_ARGS= --disable-silent-rules SHEBANG_FILES= src/template-converter USE_LDCONFIG= yes -BROKEN_powerpc= Does not compile on powerpc - post-patch: @${REINPLACE_CMD} -e \ 's|$$(prefix)/share/doc/$$(PACKAGE)-$$(VERSION)|${DOCSDIR}|' \ ${WRKSRC}/Makefile.in +# XXX: undefining BSWAP32 breaks builds on big-endian systems for some reason + @${REINPLACE_CMD} -e 's|# undef BSWAP32|//&|' \ + ${WRKSRC}/src/base/macros.h post-patch-DOCS-off: @${REINPLACE_CMD} -e \ '/install-data-am/ s|install-dist_docDATA||' \ ${WRKSRC}/Makefile.in -tests: build - @(cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} check) +regression-test: build + @${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_FLAGS} ${MAKEFILE} \ + ${MAKE_ARGS} check -C ${WRKSRC} .include