svn commit: r395006 - head/net/nmsg
Don Lewis
truckman at FreeBSD.org
Sat Aug 22 00:56:40 UTC 2015
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>
More information about the svn-ports-all
mailing list