Use python.port.mk and MODPY_BIN, fixing build with MODPY_VERSION=2.6.
Bump not needed, this doesn't make it into the package. ok simon@
This commit is contained in:
parent
940c428226
commit
15da7d3723
@ -1,4 +1,4 @@
|
||||
# $OpenBSD: Makefile,v 1.5 2009/04/04 14:53:38 ajacoutot Exp $
|
||||
# $OpenBSD: Makefile,v 1.6 2009/08/08 08:01:58 sthen Exp $
|
||||
|
||||
COMMENT= economic and military simulation game
|
||||
|
||||
@ -27,9 +27,9 @@ LIB_DEPENDS= SDL_gfx::devel/sdl-gfx \
|
||||
SDL_ttf::devel/sdl-ttf
|
||||
|
||||
MODULES= devel/gettext \
|
||||
devel/scons
|
||||
|
||||
PYTHON_VER= 2.5
|
||||
devel/scons \
|
||||
lang/python
|
||||
MODPY_RUNDEP= No
|
||||
|
||||
WRKDIST= ${WRKDIR}/widelands
|
||||
|
||||
@ -46,7 +46,7 @@ MODSCONS_FLAGS= \
|
||||
extra_lib_path="${LOCALBASE}/lib"
|
||||
|
||||
pre-configure:
|
||||
perl -pi -e 's,^#!/usr/bin/python,#!${LOCALBASE}/bin/python${PYTHON_VER},' \
|
||||
perl -pi -e 's,^#!/usr/bin/python,#!${MODPY_BIN},' \
|
||||
${WRKSRC}/utils/buildlocale.py
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user