Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 22 Aug 2015 00:56:39 +0000 (UTC)
From:      Don Lewis <truckman@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r395006 - head/net/nmsg
Message-ID:  <201508220056.t7M0udUN085441@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: truckman
Date: Sat Aug 22 00:56:39 2015
New Revision: 395006
URL: https://svnweb.freebsd.org/changeset/ports/395006

Log:
  Use option helpers and nuke the FreeBSD 8 binutils workaround.  This
  allows the inclusion of bsd.port.options.mk to be eliminated.
  
  Sponsored by:	Farsight Security, Inc.

Modified:
  head/net/nmsg/Makefile

Modified: head/net/nmsg/Makefile
==============================================================================
--- head/net/nmsg/Makefile	Sat Aug 22 00:29:06 2015	(r395005)
+++ head/net/nmsg/Makefile	Sat Aug 22 00:56:39 2015	(r395006)
@@ -40,24 +40,13 @@ MANPAGES_BUILD_DEPENDS=	xsltproc:${PORTS
 			${DOCBOOK_XSL_NS}:${PORTSDIR}/textproc/docbook-xsl-ns
 MANPAGES_CONFIGURE_WITH=	xsltproc
 
-.include <bsd.port.options.mk>
-
-# 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
-
-post-install:
-.if ${PORT_OPTIONS:MDOXYGEN}
+post-install-DOXYGEN-on:
 	(cd ${WRKSRC}/doc/doxygen && \
 	${COPYTREE_SHARE} html ${STAGEDIR}${DOCSDIR})
-.endif
-.if ${PORT_OPTIONS:MEXAMPLES}
+
+post-install-EXAMPLES-on:
 	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
 	(cd ${WRKSRC}/examples && \
 	${INSTALL_DATA} *.c *.py ${STAGEDIR}${EXAMPLESDIR})
-.endif
 
 .include <bsd.port.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201508220056.t7M0udUN085441>