Prepend MODPY_* variables in SUBST_VARS.
Previously, when eg MODPY_VERSION is a substring of a variable added to SUBST_VARS in a port's Makefile, pain on update-plist can ensue. Makes updates on www/py-django more fun. Tests and feedback from merdely@ and Darrin Chandler; thanks! ok steven@, "if it doesn't break anything..." fgsch@
This commit is contained in:
parent
e71502184b
commit
1dc7873634
@ -1,4 +1,4 @@
|
||||
# $OpenBSD: python.port.mk,v 1.22 2008/04/09 21:45:54 wcmaier Exp $
|
||||
# $OpenBSD: python.port.mk,v 1.23 2008/06/10 15:01:49 wcmaier Exp $
|
||||
#
|
||||
# python.port.mk - Xavier Santolaria <xavier@santolaria.net>
|
||||
# This file is in the public domain.
|
||||
@ -61,7 +61,7 @@ MAKE_ENV+= CC=${CC}
|
||||
_MODPY_CMD= @cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} \
|
||||
${MODPY_BIN} ./${MODPY_SETUP}
|
||||
|
||||
SUBST_VARS+= MODPY_VERSION MODPY_EGG_VERSION
|
||||
SUBST_VARS:= MODPY_EGG_VERSION MODPY_VERSION ${SUBST_VARS}
|
||||
|
||||
# dirty way to do it with no modifications in bsd.port.mk
|
||||
.if empty(CONFIGURE_STYLE)
|
||||
|
Loading…
Reference in New Issue
Block a user