summaryrefslogtreecommitdiff
path: root/devel/scmgit-base/patches/patch-ag
diff options
context:
space:
mode:
Diffstat (limited to 'devel/scmgit-base/patches/patch-ag')
-rw-r--r--devel/scmgit-base/patches/patch-ag19
1 files changed, 14 insertions, 5 deletions
diff --git a/devel/scmgit-base/patches/patch-ag b/devel/scmgit-base/patches/patch-ag
index 06a66129918..613030400d7 100644
--- a/devel/scmgit-base/patches/patch-ag
+++ b/devel/scmgit-base/patches/patch-ag
@@ -1,7 +1,16 @@
-$NetBSD: patch-ag,v 1.3 2008/03/15 05:09:07 bjs Exp $
+$NetBSD: patch-ag,v 1.4 2008/08/20 03:04:20 bjs Exp $
---- templates/Makefile.orig 2008-03-09 06:18:13.000000000 -0400
+--- templates/Makefile.orig 2008-08-17 16:43:06.000000000 -0400
+++ templates/Makefile
+@@ -8,7 +8,7 @@ INSTALL ?= install
+ TAR ?= tar
+ RM ?= rm -f
+ prefix ?= $(HOME)
+-template_instdir ?= $(prefix)/share/git-core/templates
++template_instdir = ${GIT_TEMPLATE_INSTDIR}
+ # DESTDIR=
+
+ # Shell quote (do not use $(call) to accommodate ancient setups);
@@ -29,7 +29,7 @@ boilerplates.made : $(bpsrc)
case "$$boilerplate" in *~) continue ;; esac && \
dst=`echo "$$boilerplate" | sed -e 's|^this|.|;s|--|/|g'` && \
@@ -15,7 +24,7 @@ $NetBSD: patch-ag,v 1.3 2008/03/15 05:09:07 bjs Exp $
$(RM) -r blt boilerplates.made
install: all
-- $(INSTALL) -d -m 755 '$(DESTDIR_SQ)$(template_dir_SQ)'
-+ $(BSD_INSTALL_DATA_DIR) '$(DESTDIR_SQ)$(template_dir_SQ)'
+- $(INSTALL) -d -m 755 '$(DESTDIR_SQ)$(template_instdir_SQ)'
++ $(BSD_INSTALL_DATA_DIR) '$(DESTDIR_SQ)$(template_instdir_SQ)'
(cd blt && $(TAR) cf - .) | \
- (cd '$(DESTDIR_SQ)$(template_dir_SQ)' && umask 022 && $(TAR) xf -)
+ (cd '$(DESTDIR_SQ)$(template_instdir_SQ)' && umask 022 && $(TAR) xf -)