svn commit: r321850 - head/devel/boost-all

Baptiste Daroussin bapt at FreeBSD.org
Thu Jun 27 06:23:37 UTC 2013


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>


More information about the svn-ports-all mailing list