diff options
-rw-r--r-- | lang/python/Makefile | 1 | ||||
-rw-r--r-- | lang/python2/Makefile | 3 | ||||
-rw-r--r-- | lang/python3/Makefile | 3 |
3 files changed, 7 insertions, 0 deletions
diff --git a/lang/python/Makefile b/lang/python/Makefile index bf77a20c7f21..ba48ab72cd6f 100644 --- a/lang/python/Makefile +++ b/lang/python/Makefile @@ -14,6 +14,7 @@ COMMENT= The "meta-port" for the default version of Python interpreter USE_PYTHON_RUN= yes NO_BUILD= yes +PYTHON_NO_DEPENDS= yes PLIST_FILES= bin/2to3 \ bin/idle \ diff --git a/lang/python2/Makefile b/lang/python2/Makefile index 99b47276cc13..1e0448e61aa8 100644 --- a/lang/python2/Makefile +++ b/lang/python2/Makefile @@ -13,6 +13,7 @@ COMMENT= The "meta-port" for version 2 of the Python interpreter USE_PYTHON_RUN= yes PYTHON_VERSION= ${PYTHON_DEFAULT_VERSION} NO_BUILD= yes +PYTHON_NO_DEPENDS= yes PLIST_FILES= bin/2to3-${PYTHON_MAJOR_VER} \ bin/idle${PYTHON_MAJOR_VER} \ @@ -25,6 +26,8 @@ PLIST_FILES= bin/2to3-${PYTHON_MAJOR_VER} \ .include <bsd.port.pre.mk> +RUN_DEPENDS+= ${PYTHON_CMD}:${PYTHON_PORTSDIR} + do-install: .for file in idle pydoc python python-shared ${LN} -sf ${PREFIX}/bin/${file}${PYTHON_VER} ${PREFIX}/bin/${file}${PYTHON_MAJOR_VER} diff --git a/lang/python3/Makefile b/lang/python3/Makefile index 3ac4fbebd9e7..b3ea216b0db9 100644 --- a/lang/python3/Makefile +++ b/lang/python3/Makefile @@ -13,6 +13,7 @@ COMMENT= The "meta-port" for version 3 of the Python interpreter USE_PYTHON_RUN= yes PYTHON_VERSION= ${PYTHON3_DEFAULT_VERSION} NO_BUILD= yes +PYTHON_NO_DEPENDS= yes PLIST_FILES= bin/2to3-${PYTHON_MAJOR_VER} \ bin/idle${PYTHON_MAJOR_VER} \ @@ -24,6 +25,8 @@ PLIST_FILES= bin/2to3-${PYTHON_MAJOR_VER} \ .include <bsd.port.pre.mk> +RUN_DEPENDS+= ${PYTHON_CMD}:${PYTHON_PORTSDIR} + do-install: .for file in python python-shared ${LN} -sf ${PREFIX}/bin/${file}${PYTHON_VER} ${PREFIX}/bin/${file}${PYTHON_MAJOR_VER} |