Use MODPY_BIN were applicable

This commit is contained in:
alek 2006-06-05 18:30:20 +00:00
parent 06ef5e40ed
commit 56a16dd8e9

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.8 2006/06/04 10:04:34 steven Exp $ # $OpenBSD: Makefile,v 1.9 2006/06/05 18:30:20 alek Exp $
SHARED_ONLY= Yes SHARED_ONLY= Yes
@ -33,7 +33,7 @@ FLAVOR?=
.if ${FLAVOR:L:Mpython} .if ${FLAVOR:L:Mpython}
MODULES= lang/python MODULES= lang/python
CONFIGURE_ARGS+= --with-python=${LOCALBASE}/bin/python${MODPY_VERSION} CONFIGURE_ARGS+= --with-python=${MODPY_BIN}
.else .else
CONFIGURE_ARGS+= --disable-python CONFIGURE_ARGS+= --disable-python
.endif .endif