97d7174b6a
update to version 1.8.4 (forwarded request 196338 from douglarek) OBS-URL: https://build.opensuse.org/request/show/196442 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/git?expand=0&rev=118
27 lines
1.3 KiB
Diff
27 lines
1.3 KiB
Diff
Index: git-1.8.4/Makefile
|
|
===================================================================
|
|
--- git-1.8.4/Makefile.orig 2013-08-24 03:38:43.000000000 +0800
|
|
+++ git-1.8.4/Makefile 2013-08-26 09:46:14.596687535 +0800
|
|
@@ -1838,7 +1838,7 @@ $(SCRIPT_PYTHON_GEN): GIT-CFLAGS GIT-PRE
|
|
$(SCRIPT_PYTHON_GEN): % : %.py
|
|
$(QUIET_GEN)$(RM) $@ $@+ && \
|
|
INSTLIBDIR=`MAKEFLAGS= $(MAKE) -C git_remote_helpers -s \
|
|
- --no-print-directory prefix='$(prefix_SQ)' DESTDIR='$(DESTDIR_SQ)' \
|
|
+ --no-print-directory prefix='$(prefix_SQ)' DESTDIR= \
|
|
instlibdir` && \
|
|
sed -e '1s|#!.*python|#!$(PYTHON_PATH_SQ)|' \
|
|
-e 's|\(os\.getenv("GITPYTHONLIB"\)[^)]*)|\1,"@@INSTLIBDIR@@")|' \
|
|
Index: git-1.8.4/git_remote_helpers/Makefile
|
|
===================================================================
|
|
--- git-1.8.4/git_remote_helpers/Makefile.orig 2013-08-24 03:38:43.000000000 +0800
|
|
+++ git-1.8.4/git_remote_helpers/Makefile 2013-08-26 09:47:37.941682649 +0800
|
|
@@ -35,7 +35,7 @@ all: $(pysetupfile)
|
|
$(QUIET)echo "$(py_version)" >GIT-PYTHON-VERSION
|
|
|
|
install: $(pysetupfile)
|
|
- $(PYTHON_PATH) $(pysetupfile) install --prefix $(DESTDIR_SQ)$(prefix)
|
|
+ $(PYTHON_PATH) $(pysetupfile) install --prefix $(prefix) --root $(DESTDIR_SQ)
|
|
|
|
instlibdir: $(pysetupfile)
|
|
@echo "$(DESTDIR_SQ)$(prefix)/$(PYLIBDIR)"
|