Files
sablink-distro/dev-vcs/git/files/git-1.8.5-mw-vendor.patch
T
Sławomir Nizio 578c9566be [dev-vcs/git*,www-apps/gitweb] version bump to 2.15.1
- symlinked "files"
2017-12-01 21:54:27 +01:00

40 lines
1.1 KiB
Diff

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))