summaryrefslogtreecommitdiff
path: root/www/ikiwiki/patches
diff options
context:
space:
mode:
authorschmonz <schmonz>2010-10-20 02:56:12 +0000
committerschmonz <schmonz>2010-10-20 02:56:12 +0000
commit1e9c6d5b0dea760046166cddcd952e6351bb3404 (patch)
tree156e9d67b5ddf86b1728eb954e4d03dabd1b6afd /www/ikiwiki/patches
parentbf267b1e9bf18f7e85d308bf96962dcbc2533cd4 (diff)
downloadpkgsrc-1e9c6d5b0dea760046166cddcd952e6351bb3404.tar.gz
Update to 3.20101019. From the changelog:
* Fix test suite failure on other side of date line. * htmltidy: Allow configuring tidy parameters in setup file. (W. Trevor King) * Updated French program translation. Closes: #598918 * git: Added new rcs_revert and rcs_preprevert hooks. * recentchanges: Add revert buttons to RecentChanges page, and implement web-based reversion interface. * Thanks to Peter Gammie for his assistance with the web-based reversion feature. * actiontabs: More consistent styling of Hn tags. * websetup: Fix saving of advanced mode changes. * websetup: Fix defaults of checkboxes in advanced mode. * monotone: Fix recentchanges page when the srcdir is not at the top of the monotone workspace. Thanks, tommyd. * img: If a class is specified, don't also put the img in the img class. * auto-blog.setup: Don't enable opendiscussion by default; require users be logged in to post comments. Updating this leaf package during the freeze for bugfixes.
Diffstat (limited to 'www/ikiwiki/patches')
-rw-r--r--www/ikiwiki/patches/patch-aa44
1 files changed, 31 insertions, 13 deletions
diff --git a/www/ikiwiki/patches/patch-aa b/www/ikiwiki/patches/patch-aa
index 2a3c92f0861..30e0bc4680a 100644
--- a/www/ikiwiki/patches/patch-aa
+++ b/www/ikiwiki/patches/patch-aa
@@ -1,8 +1,8 @@
-$NetBSD: patch-aa,v 1.18 2010/06/23 23:52:12 schmonz Exp $
+$NetBSD: patch-aa,v 1.19 2010/10/20 02:56:13 schmonz Exp $
---- Makefile.PL.orig 2010-06-16 23:17:18.000000000 +0000
+--- Makefile.PL.orig 2010-10-09 00:09:24.000000000 +0000
+++ Makefile.PL
-@@ -25,6 +25,8 @@ PROBABLE_INST_LIB=$(shell \\
+@@ -19,6 +19,8 @@ SED?=sed
# Additional configurable path variables.
W3M_CGI_BIN?=$(PREFIX)/lib/w3m/cgi-bin
@@ -11,34 +11,52 @@ $NetBSD: patch-aa,v 1.18 2010/06/23 23:52:12 schmonz Exp $
tflag=$(shell if [ -n "$$NOTAINT" ] && [ "$$NOTAINT" != 1 ]; then printf -- "-T"; fi)
extramodules=$(shell if [ "$$PROFILE" = 1 ]; then printf -- "-d:NYTProf"; fi)
-@@ -46,7 +48,7 @@ extra_build: $(outprogs) ikiwiki.setup d
+@@ -50,7 +52,7 @@ extra_build: $(outprogs) ikiwiki.setup d
./mdwn2man ikiwiki-update-wikilist 1 doc/ikiwiki-update-wikilist.mdwn > ikiwiki-update-wikilist.man
./mdwn2man ikiwiki-calendar 1 doc/ikiwiki-calendar.mdwn > ikiwiki-calendar.man
$(MAKE) -C po
-- sed -i.bkp "s/Version:.*/Version: $$(perl -e '$$_=<>;print m/\((.*?)\)/'<debian/changelog)/" ikiwiki.spec
-+ #sed -i.bkp "s/Version:.*/Version: $$(perl -e '$$_=<>;print m/\((.*?)\)/'<debian/changelog)/" ikiwiki.spec
+- $(SED) -i.bkp "s/Version:.*/Version: $$(perl -e '$$_=<>;print m/\((.*?)\)/'<debian/changelog)/" ikiwiki.spec
++ #$(SED) -i.bkp "s/Version:.*/Version: $$(perl -e '$$_=<>;print m/\((.*?)\)/'<debian/changelog)/" ikiwiki.spec
rm -f ikiwiki.spec.bkp
docwiki:
-@@ -66,7 +68,7 @@ underlay_install:
- for dir in `cd underlays && find . -follow -type d ! -regex '.*\.svn.*'`; do \
+@@ -70,7 +72,7 @@ underlay_install:
+ for dir in `cd underlays && $(FIND) . -follow -type d ! -regex '.*\.svn.*'`; do \
install -d $(DESTDIR)$(PREFIX)/share/ikiwiki/$$dir; \
- for file in `find underlays/$$dir -follow -maxdepth 1 -type f`; do \
+ for file in `$(FIND) underlays/$$dir -follow -maxdepth 1 -type f`; do \
- cp -aL $$file $(DESTDIR)$(PREFIX)/share/ikiwiki/$$dir 2>/dev/null || \
+ cp -pRL $$file $(DESTDIR)$(PREFIX)/share/ikiwiki/$$dir 2>/dev/null || \
install -m 644 $$file $(DESTDIR)$(PREFIX)/share/ikiwiki/$$dir; \
done; \
done
-@@ -99,7 +101,7 @@ extra_install: underlay_install
+@@ -79,7 +81,7 @@ underlay_install:
+ install -d $(DESTDIR)$(PREFIX)/share/ikiwiki/directives/ikiwiki/directive
+ for file in doc/ikiwiki/directive/*; do \
+ if [ -f "$$file" ]; then \
+- cp -aL $$file $(DESTDIR)$(PREFIX)/share/ikiwiki/directives/ikiwiki/directive 2>/dev/null || \
++ cp -pRL $$file $(DESTDIR)$(PREFIX)/share/ikiwiki/directives/ikiwiki/directive 2>/dev/null || \
+ install -m 644 $$file $(DESTDIR)$(PREFIX)/share/ikiwiki/directives/ikiwiki/directive; \
+ fi \
+ done
+@@ -91,7 +93,7 @@ underlay_install:
+ if echo "$$file" | grep -q style.css; then \
+ (cat doc/style.css; cat $$file) >> $(DESTDIR)$(PREFIX)/share/ikiwiki/$$theme/style.css; \
+ elif [ -f "$$file" ]; then \
+- cp -aL $$file $(DESTDIR)$(PREFIX)/share/ikiwiki/$$file 2>/dev/null || \
++ cp -pRL $$file $(DESTDIR)$(PREFIX)/share/ikiwiki/$$file 2>/dev/null || \
+ install -m 644 $$file $(DESTDIR)$(PREFIX)/share/ikiwiki/$$file; \
+ fi \
+ done; \
+@@ -103,7 +105,7 @@ extra_install: underlay_install
install -d $(DESTDIR)$(PREFIX)/share/ikiwiki/examples/$$dir; \
done
- for file in `cd doc/examples; find . -type f ! -regex '.*\.svn.*'`; do \
+ for file in `cd doc/examples; $(FIND) . -type f ! -regex '.*\.svn.*'`; do \
- cp -aL doc/examples/$$file $(DESTDIR)$(PREFIX)/share/ikiwiki/examples/$$file 2>/dev/null || \
+ cp -pRL doc/examples/$$file $(DESTDIR)$(PREFIX)/share/ikiwiki/examples/$$file 2>/dev/null || \
install -m 644 doc/examples/$$file $(DESTDIR)$(PREFIX)/share/ikiwiki/examples/$$file; \
done
-@@ -118,15 +120,15 @@ extra_install: underlay_install
+@@ -122,15 +124,15 @@ extra_install: underlay_install
install -m 755 $$file $(DESTDIR)$(PREFIX)/lib/ikiwiki/plugins; \
done
@@ -62,7 +80,7 @@ $NetBSD: patch-aa,v 1.18 2010/06/23 23:52:12 schmonz Exp $
install -d $(DESTDIR)$(PREFIX)/sbin
install ikiwiki-mass-rebuild $(DESTDIR)$(PREFIX)/sbin
-@@ -143,10 +145,10 @@ extra_install: underlay_install
+@@ -147,10 +149,10 @@ extra_install: underlay_install
# These might fail if a regular user is installing into a home
# directory.