From 58386d8b737b4b348b9c5a497a08364e78ade234 Mon Sep 17 00:00:00 2001 From: steven Date: Fri, 28 Sep 2007 09:55:41 +0000 Subject: [PATCH] unbreak ok bernd@ --- devel/iso-codes/Makefile | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/devel/iso-codes/Makefile b/devel/iso-codes/Makefile index 225bd16b23c..f3e59baa43b 100644 --- a/devel/iso-codes/Makefile +++ b/devel/iso-codes/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.5 2007/09/27 11:54:56 steven Exp $ +# $OpenBSD: Makefile,v 1.6 2007/09/28 09:55:41 steven Exp $ COMMENT= lists of the country, language and currency iso names @@ -19,12 +19,14 @@ PERMIT_DISTFILES_FTP= Yes USE_GMAKE= Yes CONFIGURE_STYLE=gnu -BUILD_DEPENDS= python-expat-2.4*:lang/python/2.4,-expat +PYTHON_VER= 2.4 + +BUILD_DEPENDS= python-expat-${PYTHON_VER}*:lang/python/${PYTHON_VER},-expat FAKE_FLAGS= DESTDIR=${WRKINST} pkgconfigdir=${PREFIX}/lib/pkgconfig post-extract: - @perl -pi -e 's,/usr/bin/env python,${MODPY_BIN},' \ + @perl -pi -e 's,/usr/bin/env python,${LOCALBASE}/bin/python${PYTHON_VER},' \ ${WRKSRC}/{iso2pot.py,iso_3166/iso3166tab.py} .include