Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 9 Feb 2014 13:07:02 +0000 (UTC)
From:      Kubilay Kocak <koobs@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r343500 - head/devel/py-yaml
Message-ID:  <201402091307.s19D720H025026@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: koobs
Date: Sun Feb  9 13:07:02 2014
New Revision: 343500
URL: http://svnweb.freebsd.org/changeset/ports/343500
QAT: https://qat.redports.org/buildarchive/r343500/

Log:
  devel/py-yaml: Remove redundant bsd.port.options.mk include
  
  Save one extra parse of bsd.port.mk by moving PORT_OPTIONS:MEXAMPLES under
  the bsd.port.pre.mk include and removing bsd.port.options.mk.
  
  Reported by:	mat

Modified:
  head/devel/py-yaml/Makefile

Modified: head/devel/py-yaml/Makefile
==============================================================================
--- head/devel/py-yaml/Makefile	Sun Feb  9 13:00:56 2014	(r343499)
+++ head/devel/py-yaml/Makefile	Sun Feb  9 13:07:02 2014	(r343500)
@@ -23,15 +23,13 @@ PYDISTUTILS_AUTOPLIST=	yes
 
 EXAMPLESDIR=	${PREFIX}/share/examples/py-${PORTNAME}
 
-.include <bsd.port.options.mk>
+.include <bsd.port.pre.mk>
 
 .if ${PORT_OPTIONS:MEXAMPLES}
 post-install:
 	@(cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}/)
 .endif
 
-.include <bsd.port.pre.mk>
-
 .if ${PORT_OPTIONS:MLIBYAML}
 PYDISTUTILS_SETUP+=		--with-libyaml
 PYDISTUTILS_BUILD_TARGET=	build_ext



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