Date: Mon, 7 Sep 2015 15:25:26 +0000 (UTC) From: Alexey Dokuchaev <danfe@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r396279 - head/textproc/google-ctemplate Message-ID: <201509071525.t87FPQPb003158@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 <bsd.port.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201509071525.t87FPQPb003158>