Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Jun 2013 06:23:36 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r321850 - head/devel/boost-all
Message-ID:  <201306270623.r5R6NboF025218@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bapt
Date: Thu Jun 27 06:23:36 2013
New Revision: 321850
URL: http://svnweb.freebsd.org/changeset/ports/321850

Log:
  PKGORIGIN being defined earlier, CATAGORIES needs to be defined prior any *.mk include meaning common.mk has to be included earlier [1]
  While here switch to new options helpers
  
  Reported by:	erwin

Modified:
  head/devel/boost-all/Makefile

Modified: head/devel/boost-all/Makefile
==============================================================================
--- head/devel/boost-all/Makefile	Thu Jun 27 05:28:47 2013	(r321849)
+++ head/devel/boost-all/Makefile	Thu Jun 27 06:23:36 2013	(r321850)
@@ -17,26 +17,14 @@ PYTHON_DESC=	Boost.Python - interfacing 
 
 NO_BUILD=	yes
 
-.include <bsd.port.pre.mk>
 .include "common.mk"
 
-.if ${PORT_OPTIONS:MLIBRARIES}
-RUN_DEPENDS+=	${LOCALBASE}/lib/libboost_thread.so:${PORTSDIR}/devel/boost-libs
-.endif
-
-.if ${PORT_OPTIONS:MJAM}
-RUN_DEPENDS+=	${LOCALBASE}/bin/bjam:${PORTSDIR}/devel/boost-jam
-.endif
-
-.if ${PORT_OPTIONS:MPYTHON}
-RUN_DEPENDS+=	${LOCALBASE}/lib/libboost_python.so:${PORTSDIR}/devel/boost-python-libs
-.endif
-
-.if ${PORT_OPTIONS:MDOCS}
-RUN_DEPENDS+=	${LOCALBASE}/share/doc/boost/doc/html/index.html:${PORTSDIR}/devel/boost-docs
-.endif
+LIBRARIES_RUN_DEPENDS=	${LOCALBASE}/lib/libboost_thread.so:${PORTSDIR}/devel/boost-libs
+JAM_RUN_DEPENDS=	${LOCALBASE}/bin/bjam:${PORTSDIR}/devel/boost-jam
+PYTHON_RUN_DEPENDS=	${LOCALBASE}/lib/libboost_python.so:${PORTSDIR}/devel/boost-python-libs
+DOCS_RUN_DEPENDS=	${LOCALBASE}/share/doc/boost/doc/html/index.html:${PORTSDIR}/devel/boost-docs
 
 do-install:
 	${DO_NADA}
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>



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