forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
git-1.8.5-mw-vendor.patch
39 lines (34 loc) · 1.13 KB
/
git-1.8.5-mw-vendor.patch
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
diff --git a/contrib/mw-to-git/Makefile b/contrib/mw-to-git/Makefile
index a4b6f7a..d83df2c 100644
--- a/contrib/mw-to-git/Makefile
+++ b/contrib/mw-to-git/Makefile
@@ -22,7 +22,7 @@ INSTALL = install
SCRIPT_PERL_FULL=$(patsubst %,$(HERE)/%,$(SCRIPT_PERL))
INSTLIBDIR=$(shell $(MAKE) -C $(GIT_ROOT_DIR)/perl \
- -s --no-print-directory instlibdir)
+ -s --no-print-directory instvendorlibdir)
DESTDIR_SQ = $(subst ','\'',$(DESTDIR))
INSTLIBDIR_SQ = $(subst ','\'',$(INSTLIBDIR))
diff --git a/perl/Makefile b/perl/Makefile
index 15d96fc..91348c6 100644
--- a/perl/Makefile
+++ b/perl/Makefile
@@ -12,7 +12,7 @@ ifndef V
QUIET = @
endif
-all install instlibdir: $(makfile)
+all install instlibdir instvendorlibdir: $(makfile)
$(QUIET)$(MAKE) -f $(makfile) $@
clean:
diff --git a/perl/Makefile.PL b/perl/Makefile.PL
index 3f29ba9..c0b3508 100644
--- a/perl/Makefile.PL
+++ b/perl/Makefile.PL
@@ -17,6 +17,8 @@ sub MY::postamble {
return <<'MAKE_FRAG';
instlibdir:
@echo '$(INSTALLSITELIB)'
+instvendorlibdir:
+ @echo '$(INSTALLVENDORLIB)'
ifneq (,$(DESTDIR))
ifeq (0,$(shell expr '$(MM_VERSION)' '>' 6.10))