replace MODPY_NO_RUNDEP with MODPY_RUNDEP (yes by default)

add MODPY_LIB_DEPENDS

no objection djm@, ok bernd@
This commit is contained in:
steven 2007-10-22 10:14:02 +00:00
parent fcc6d578bb
commit 94f22279a1
2 changed files with 6 additions and 5 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.8 2007/10/21 18:00:12 jasper Exp $
# $OpenBSD: Makefile,v 1.9 2007/10/22 10:14:02 steven Exp $
COMMENT= lists of the country, language and currency iso names
@ -19,7 +19,7 @@ USE_GMAKE= Yes
CONFIGURE_STYLE=gnu
MODULES= lang/python
MODPY_NO_RUNDEP=Yes
MODPY_RUNDEP= No
BUILD_DEPENDS= :python-expat-${MODPY_VERSION}*:lang/python/${MODPY_VERSION},-expat

View File

@ -1,4 +1,4 @@
# $OpenBSD: python.port.mk,v 1.18 2007/10/10 21:44:06 steven Exp $
# $OpenBSD: python.port.mk,v 1.19 2007/10/22 10:14:02 steven Exp $
#
# python.port.mk - Xavier Santolaria <xavier@santolaria.net>
# This file is in the public domain.
@ -6,14 +6,15 @@
MODPY_VERSION?= 2.5
MODPY_RUN_DEPENDS= :python-${MODPY_VERSION}*:lang/python/${MODPY_VERSION}
MODPY_LIB_DEPENDS= python${MODPY_VERSION}:python-${MODPY_VERSION}*:lang/python/${MODPY_VERSION}
_MODPY_BUILD_DEPENDS= :python-${MODPY_VERSION}*:lang/python/${MODPY_VERSION}
MODPY_NO_RUNDEP?= No
MODPY_RUNDEP?= Yes
.if ${NO_BUILD:L} == "no"
BUILD_DEPENDS+= ${_MODPY_BUILD_DEPENDS}
.endif
.if ${MODPY_NO_RUNDEP:L} == "no"
.if ${MODPY_RUNDEP:L} == "yes"
RUN_DEPENDS+= ${MODPY_RUN_DEPENDS}
.endif