components/git/patches/python_Makefile.patch
changeset 4944 2efba29a3b65
parent 4943 1d2d4cba41b1
child 4945 d9d54aa673b6
equal deleted inserted replaced
4943:1d2d4cba41b1 4944:2efba29a3b65
     1 --- git-1.7.3.2/git_remote_helpers/Makefile.orig	Tue Nov 15 05:25:37 2011
       
     2 +++ git-1.7.3.2/git_remote_helpers/Makefile	Tue Nov 15 06:35:06 2011
       
     3 @@ -23,13 +23,15 @@
       
     4  
       
     5  PYLIBDIR=$(shell $(PYTHON_PATH) -c \
       
     6  	 "import sys; \
       
     7 -	 print 'lib/python%i.%i/site-packages' % sys.version_info[:2]")
       
     8 +	 print 'lib/python%i.%i/vendor-packages' % sys.version_info[:2]")
       
     9  
       
    10  all: $(pysetupfile)
       
    11  	$(QUIET)$(PYTHON_PATH) $(pysetupfile) $(QUIETSETUP) build
       
    12  
       
    13  install: $(pysetupfile)
       
    14 -	$(PYTHON_PATH) $(pysetupfile) install --prefix $(DESTDIR_SQ)$(prefix)
       
    15 +	$(PYTHON_PATH) $(pysetupfile) install \
       
    16 +	--install-lib=$(DESTDIR_SQ)$(prefix)/$(PYLIBDIR) \
       
    17 +	--prefix $(DESTDIR_SQ)$(prefix)
       
    18  
       
    19  instlibdir: $(pysetupfile)
       
    20  	@echo "$(DESTDIR_SQ)$(prefix)/$(PYLIBDIR)"