components/git/patches/python_Makefile.patch
branchs11u3-sru
changeset 5720 519e1bb835ee
parent 5713 b6d980e5e998
child 5721 153e2c170241
equal deleted inserted replaced
5713:b6d980e5e998 5720:519e1bb835ee
     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)"