Lines 75-83
Link Here
|
75 |
.if ${PORT_OPTIONS:MPYTHON} |
75 |
.if ${PORT_OPTIONS:MPYTHON} |
76 |
PYDISTUTILS_PKGNAME?= netsnmp-python |
76 |
PYDISTUTILS_PKGNAME?= netsnmp-python |
77 |
PYDISTUTILS_PKGVERSION?= 1.0a1 |
77 |
PYDISTUTILS_PKGVERSION?= 1.0a1 |
78 |
USES+= python |
78 |
USES+= python:-2.7 |
79 |
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}setuptools>0:devel/py-setuptools |
79 |
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}setuptools>0:devel/py-setuptools@${PY_FLAVOR} |
80 |
BUILD_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}setuptools>0:devel/py-setuptools |
80 |
BUILD_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}setuptools>0:devel/py-setuptools@${PY_FLAVOR} |
81 |
CONFIGURE_ARGS+=--with-python-modules |
81 |
CONFIGURE_ARGS+=--with-python-modules |
82 |
CONFIGURE_ENV+= PYTHONPROG="${PYTHON_CMD}" |
82 |
CONFIGURE_ENV+= PYTHONPROG="${PYTHON_CMD}" |
83 |
MAKE_ENV+= PYDISTUTILS_INSTALLARGS="${PYDISTUTILS_INSTALLARGS}" STAGEDIR="${STAGEDIR}" |
83 |
MAKE_ENV+= PYDISTUTILS_INSTALLARGS="${PYDISTUTILS_INSTALLARGS}" STAGEDIR="${STAGEDIR}" |