aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Grzybowski <wg@FreeBSD.org>2014-08-18 14:28:35 +0000
committerWilliam Grzybowski <wg@FreeBSD.org>2014-08-18 14:28:35 +0000
commit29a86ed77fefe778dd077f116ef07d395dd3402f (patch)
tree784328f6135c1eb395842e89d036ad21765eda1b
parent3dddc7a8645e5b70fcdccb82a192d7f7538ef319 (diff)
downloadports-29a86ed77fefe778dd077f116ef07d395dd3402f.tar.gz
ports-29a86ed77fefe778dd077f116ef07d395dd3402f.zip
Notes
-rw-r--r--net/nmsg/Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/net/nmsg/Makefile b/net/nmsg/Makefile
index f6d81711a93f..e783d5d8bbcf 100644
--- a/net/nmsg/Makefile
+++ b/net/nmsg/Makefile
@@ -27,6 +27,13 @@ BUILD_DEPENDS+= xsltproc:${PORTSDIR}/textproc/libxslt \
${DOCBOOK_XML}:${PORTSDIR}/textproc/docbook-xml \
${DOCBOOK_XSL_NS}:${PORTSDIR}/textproc/docbook-xsl-ns
+# The version of binutils in base does not understand the crc32
+# instructions used in this code on amd64. Use gcc from ports
+# to get a more capable version of binutils.
+.if (${OSVERSION} < 900000 && ${ARCH} == amd64)
+USE_GCC= yes
+.endif
+
ALL_TARGET= all
.if ${PORT_OPTIONS:MDOCS}
BUILD_DEPENDS+= doxygen:${PORTSDIR}/devel/doxygen