Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Oct 2015 18:32:08 +0000 (UTC)
From:      Jung-uk Kim <jkim@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r399357 - head/devel/py-pyopencl
Message-ID:  <201510151832.t9FIW8d2092375@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jkim
Date: Thu Oct 15 18:32:08 2015
New Revision: 399357
URL: https://svnweb.freebsd.org/changeset/ports/399357

Log:
  Prefer package name references over file names.
  
  Requested by:	koobs

Modified:
  head/devel/py-pyopencl/Makefile

Modified: head/devel/py-pyopencl/Makefile
==============================================================================
--- head/devel/py-pyopencl/Makefile	Thu Oct 15 18:22:02 2015	(r399356)
+++ head/devel/py-pyopencl/Makefile	Thu Oct 15 18:32:08 2015	(r399357)
@@ -12,11 +12,11 @@ COMMENT=	Python wrapper for OpenCL
 LICENSE=	MIT
 
 BUILD_DEPENDS=	${LOCALBASE}/include/CL/cl.h:${PORTSDIR}/devel/opencl \
-		${PYTHON_SITELIBDIR}/numpy/__init__.py:${PORTSDIR}/math/py-numpy
+		${PYTHON_PKGNAMEPREFIX}numpy>0:${PORTSDIR}/math/py-numpy
 LIB_DEPENDS=	libOpenCL.so:${PORTSDIR}/devel/ocl-icd
-RUN_DEPENDS=	${PYTHON_SITELIBDIR}/pytools/__init__.py:${PORTSDIR}/devel/py-pytools \
-		${PYTHON_SITELIBDIR}/numpy/__init__.py:${PORTSDIR}/math/py-numpy \
-		${PYTHON_SITELIBDIR}/mako/__init__.py:${PORTSDIR}/textproc/py-mako
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pytools>0:${PORTSDIR}/devel/py-pytools \
+		${PYTHON_PKGNAMEPREFIX}numpy>0:${PORTSDIR}/math/py-numpy \
+		${PYTHON_PKGNAMEPREFIX}mako>0:${PORTSDIR}/textproc/py-mako
 
 USE_PYTHON=	autoplist distutils
 USES=		python



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