svn commit: r396279 - head/textproc/google-ctemplate
Alexey Dokuchaev
danfe at FreeBSD.org
Mon Sep 7 15:25:26 UTC 2015
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>
More information about the svn-ports-all
mailing list