Import of pkgsrc-2016Q3

This commit is contained in:
2016-10-14 07:49:11 +02:00
committed by Lionel Sambuc
parent 9d819b6d54
commit 1242aa1e36
35952 changed files with 949749 additions and 377083 deletions

View File

@@ -1,17 +1,37 @@
$NetBSD: patch-aa,v 1.1 2008/01/10 06:35:49 bjs Exp $
$NetBSD: patch-aa,v 1.2 2016/03/18 23:13:26 sevan Exp $
--- contrib/stg-gitk.orig 2007-12-11 18:54:04.000000000 -0500
+++ contrib/stg-gitk
@@ -48,10 +48,10 @@ if [ $allbranches = 1 ]; then
refdirs="$GIT_DIR/refs"
else
# default to current branch
- if [ "$branches" == "" ]; then
+ if [ "$branches" = "" ]; then
branches="$(stg branch)"
fi
- if [ "$branches" == "" ]; then
+ if [ "$branches" = "" ]; then
echo >&2 "ERROR: cannot find current branch."
exit 1
fi
Honor PYTHON settings in Documentation Makefile.
Backport of commit e22723c8ee19cf1bb4fdf68b2f1207442ab59e39
Allow ASCIIDOC_EXTRA to be overridden
--- Documentation/Makefile.orig 2009-10-26 16:09:04.000000000 +0000
+++ Documentation/Makefile
@@ -1,4 +1,4 @@
-COMMANDS = $(shell ../stg-build --commands)
+COMMANDS = $(shell $(PYTHON) ../stg-build --commands)
COMMANDS_TXT = $(patsubst %,stg-%.txt,$(COMMANDS))
MAN1_TXT= stg.txt $(COMMANDS_TXT)
@@ -19,7 +19,7 @@ man1dir=$(mandir)/man1
# DESTDIR=
ASCIIDOC=asciidoc --unsafe
-ASCIIDOC_EXTRA =
+ASCIIDOC_EXTRA ?=
INSTALL?=install
#
@@ -63,10 +63,10 @@ clean:
ALL_PY = $(shell find ../stgit -name '*.py')
$(COMMANDS_TXT): $(ALL_PY)
- ../stg-build --asciidoc $(basename $(subst stg-,,$@)) > $@
+ $(PYTHON) ../stg-build --asciidoc $(basename $(subst stg-,,$@)) > $@
command-list.txt: $(ALL_PY)
- ../stg-build --cmd-list > $@
+ $(PYTHON) ../stg-build --cmd-list > $@
%.html : %.txt
$(ASCIIDOC) -b xhtml11 -d manpage -f asciidoc.conf $(ASCIIDOC_EXTRA) $<