pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/46449: pkgsrc/editors/vim-share enabled python extension.
>Number: 46449
>Category: pkg
>Synopsis: pkgsrc/editors/vim-share enabled python extension.
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Sun May 13 11:05:00 +0000 2012
>Originator: NONAKA Kimihiro
>Release: 6.99.7
>Organization:
>Environment:
NetBSD koharu.myhome.local 6.99.7 NetBSD 6.99.7 (TPX201) #1898: Sat May 12
08:33:05 JST 2012
nonaka@koharu.myhome.local:/usr/obj.amd64/sys/arch/amd64/compile/TPX201 amd64
>Description:
Currently pkgsrc/editors/vim-share is not support python extension.
>How-To-Repeat:
None.
>Fix:
Please apply following patch.
Index: Makefile.common
===================================================================
RCS file: /cvsroot/pkgsrc/editors/vim-share/Makefile.common,v
retrieving revision 1.143
diff -u -p -r1.143 Makefile.common
--- Makefile.common 31 Oct 2010 23:50:51 -0000 1.143
+++ Makefile.common 13 May 2012 10:52:19 -0000
@@ -76,7 +76,7 @@ ALTERNATIVES_SRC= ${.CURDIR}/../../edito
ALTERNATIVES_SRC=
.endif
-PKG_SUPPORTED_OPTIONS+= ruby
+PKG_SUPPORTED_OPTIONS+= ruby python
PKG_OPTIONS_VAR= PKG_OPTIONS.vim
.include "../../mk/bsd.options.mk"
@@ -86,5 +86,11 @@ PKG_OPTIONS_VAR= PKG_OPTIONS.vim
CONFIGURE_ARGS+= --enable-rubyinterp
.endif
+.if !empty(PKG_OPTIONS:Mpython)
+.include "../../lang/python/pyversion.mk"
+CONFIGURE_ARGS+= --enable-pythoninterp
+CONFIGURE_ENV+= vi_cv_path_python=${PYTHONBIN}
+.endif
+
post-patch:
find ${WRKDIR} -name '*.orig_dist' -exec rm -f {} \;
Home |
Main Index |
Thread Index |
Old Index