- Fix python detection

- Bump PORTREVISION for package change

PR:		ports/185601
Submitted by:	Stefan Beke <stefan@beke.info>
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2014-02-18 21:43:08 +00:00
parent f07d25b1e0
commit 1237a9027f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=344970
2 changed files with 21 additions and 1 deletions

View file

@ -3,7 +3,7 @@
PORTNAME= vim
PORTVERSION= 7.4.${PATCHLEVEL}
PORTREVISION?= 2
PORTREVISION?= 3
CATEGORIES?= editors
MASTER_SITES= VIM
DISTNAME= ${PORTNAME}-${PORTVERSION:R}

View file

@ -0,0 +1,20 @@
--- src/auto/configure.orig 2014-02-18 03:23:18.386325000 +0800
+++ src/auto/configure 2014-02-18 05:46:24.780735971 +0800
@@ -5511,7 +5511,7 @@
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_pythoninterp" >&5
$as_echo "$enable_pythoninterp" >&6; }
if test "$enable_pythoninterp" = "yes" -o "$enable_pythoninterp" = "dynamic"; then
- for ac_prog in python2 python
+ for ac_prog in python2.7
do
# Extract the first word of "$ac_prog", so it can be a program name with args.
set dummy $ac_prog; ac_word=$2
@@ -5818,7 +5818,7 @@
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_python3interp" >&5
$as_echo "$enable_python3interp" >&6; }
if test "$enable_python3interp" = "yes" -o "$enable_python3interp" = "dynamic"; then
- for ac_prog in python3 python
+ for ac_prog in python3.3 python3.2 python3.1
do
# Extract the first word of "$ac_prog", so it can be a program name with args.
set dummy $ac_prog; ac_word=$2