Use MODPY_VERSION instead of hardcoding 2.6 which is not the case anymore
since we default to python 2.7
This commit is contained in:
parent
1fa4a8cf32
commit
dd75e16ee2
@ -1,4 +1,4 @@
|
|||||||
# $OpenBSD: Makefile,v 1.57 2011/06/15 10:59:55 robert Exp $
|
# $OpenBSD: Makefile,v 1.58 2011/06/15 19:41:02 robert Exp $
|
||||||
|
|
||||||
ONLY_FOR_ARCHS= i386 amd64
|
ONLY_FOR_ARCHS= i386 amd64
|
||||||
|
|
||||||
@ -7,6 +7,8 @@ COMMENT= Chromium browser
|
|||||||
V= 12.0.742.100
|
V= 12.0.742.100
|
||||||
DISTNAME= chromium-${V}
|
DISTNAME= chromium-${V}
|
||||||
|
|
||||||
|
REVISION= 0
|
||||||
|
|
||||||
CATEGORIES= www
|
CATEGORIES= www
|
||||||
|
|
||||||
HOMEPAGE= http://sightly.net/peter/openbsd/chromium/
|
HOMEPAGE= http://sightly.net/peter/openbsd/chromium/
|
||||||
@ -97,6 +99,7 @@ GYP_DEFS= -Duse_system_bzip2=1 \
|
|||||||
|
|
||||||
pre-configure:
|
pre-configure:
|
||||||
@ln -sf ${MODPY_BIN} ${WRKDIR}/bin/python
|
@ln -sf ${MODPY_BIN} ${WRKDIR}/bin/python
|
||||||
|
${SUBST_CMD} ${WRKSRC}/build/common.gypi
|
||||||
|
|
||||||
# gyp_chromium generates all the Makefiles from gyp
|
# gyp_chromium generates all the Makefiles from gyp
|
||||||
do-configure:
|
do-configure:
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
$OpenBSD: patch-build_common_gypi,v 1.7 2011/06/08 20:36:56 robert Exp $
|
$OpenBSD: patch-build_common_gypi,v 1.8 2011/06/15 19:41:02 robert Exp $
|
||||||
--- build/common.gypi.orig Mon Jun 6 11:11:46 2011
|
--- build/common.gypi.orig Mon Jun 6 11:11:46 2011
|
||||||
+++ build/common.gypi Wed Jun 8 09:58:35 2011
|
+++ build/common.gypi Wed Jun 8 09:58:35 2011
|
||||||
@@ -95,7 +95,7 @@
|
@@ -95,7 +95,7 @@
|
||||||
@ -6,7 +6,7 @@ $OpenBSD: patch-build_common_gypi,v 1.7 2011/06/08 20:36:56 robert Exp $
|
|||||||
|
|
||||||
# Python version.
|
# Python version.
|
||||||
- 'python_ver%': '2.5',
|
- 'python_ver%': '2.5',
|
||||||
+ 'python_ver%': '2.6',
|
+ 'python_ver%': '${MODPY_VERSION}',
|
||||||
|
|
||||||
# Set ARM-v7 compilation flags
|
# Set ARM-v7 compilation flags
|
||||||
'armv7%': 0,
|
'armv7%': 0,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user