svn commit: r365313 - head/net/nmsg

William Grzybowski wg at FreeBSD.org
Mon Aug 18 14:28:36 UTC 2014


Author: wg
Date: Mon Aug 18 14:28:35 2014
New Revision: 365313
URL: http://svnweb.freebsd.org/changeset/ports/365313
QAT: https://qat.redports.org/buildarchive/r365313/

Log:
  net/nmsg: fix build for FreeBSD 8.x
  
  PR:		192771
  Submitted by:	maintainer

Modified:
  head/net/nmsg/Makefile

Modified: head/net/nmsg/Makefile
==============================================================================
--- head/net/nmsg/Makefile	Mon Aug 18 13:38:18 2014	(r365312)
+++ head/net/nmsg/Makefile	Mon Aug 18 14:28:35 2014	(r365313)
@@ -27,6 +27,13 @@ BUILD_DEPENDS+=	xsltproc:${PORTSDIR}/tex
 		${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


More information about the svn-ports-all mailing list