summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2011-10-13 16:37:03 +0000
committerwiz <wiz@pkgsrc.org>2011-10-13 16:37:03 +0000
commit95cf167df77e43b51e6e56501fab9f892f914030 (patch)
tree23bd4d5e3d740c7b68ca05cfe5a2e05dc51f644e /www
parentc86f0801995a6d411cf0c1710b1dac8e0bbf824a (diff)
downloadpkgsrc-95cf167df77e43b51e6e56501fab9f892f914030.tar.gz
Fix build-always.sh -- added too many single quotes.
Bump PKGREVISION.
Diffstat (limited to 'www')
-rw-r--r--www/davical/Makefile3
-rw-r--r--www/davical/distinfo3
-rw-r--r--www/davical/patches/patch-scripts_build-always.sh13
3 files changed, 17 insertions, 2 deletions
diff --git a/www/davical/Makefile b/www/davical/Makefile
index 8a8d4ef8b49..3d519668cd9 100644
--- a/www/davical/Makefile
+++ b/www/davical/Makefile
@@ -1,8 +1,9 @@
-# $NetBSD: Makefile,v 1.9 2011/10/13 15:57:03 wiz Exp $
+# $NetBSD: Makefile,v 1.10 2011/10/13 16:37:03 wiz Exp $
#
DISTNAME= davical-${DAVICAL_VERSION}
DAVICAL_VERSION=0.9.9.6
+PKGREVISION= 1
CATEGORIES= www
MASTER_SITES= http://debian.mcmillan.net.nz/packages/davical/
diff --git a/www/davical/distinfo b/www/davical/distinfo
index ed761bc8c2d..bb3ff580a0b 100644
--- a/www/davical/distinfo
+++ b/www/davical/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.5 2011/10/13 15:57:03 wiz Exp $
+$NetBSD: distinfo,v 1.6 2011/10/13 16:37:03 wiz Exp $
SHA1 (davical-0.9.9.6.tar.gz) = e9237e187afa82b669ffc20afc5bbf71a91d1afd
RMD160 (davical-0.9.9.6.tar.gz) = fe9cfbcd61c25126b84a91b8eec052926c14df45
@@ -8,3 +8,4 @@ SHA1 (patch-ab) = d9c4c6729e7be6968306bdd96ed4269c0887a885
SHA1 (patch-ac) = 74e9b103d502886736dff4fa659fb3e50bae5032
SHA1 (patch-ad) = 7816ff4ee7440911e275f3152089760e82b5d180
SHA1 (patch-ae) = e3f2b5c002c8289d40cd025a38c382d402fc659e
+SHA1 (patch-scripts_build-always.sh) = 528aef5225f83908786aa1ba6ee176e87db64a15
diff --git a/www/davical/patches/patch-scripts_build-always.sh b/www/davical/patches/patch-scripts_build-always.sh
new file mode 100644
index 00000000000..31a044fc035
--- /dev/null
+++ b/www/davical/patches/patch-scripts_build-always.sh
@@ -0,0 +1,13 @@
+$NetBSD: patch-scripts_build-always.sh,v 1.1 2011/10/13 16:37:03 wiz Exp $
+
+--- scripts/build-always.sh.orig 2011-09-11 11:46:40.000000000 +0000
++++ scripts/build-always.sh
+@@ -7,7 +7,7 @@ DAVICAL_VERSION="`head -n1 VERSION`"
+ DB_VERSION="`grep 'SELECT new_db_revision' dba/davical.sql | cut -f2 -d'(' | cut -f1-3 -d,`"
+ AWL_VERSION="`head -n1 ../awl/VERSION`"
+ if [ -z "${AWL_VERSION}" ] ; then
+- AWL_VERSION="'`grep 'want_awl_version' inc/always.php.in | cut -f2 -d= | cut -f1 -d';' | sed 's: ::g'`'"
++ AWL_VERSION="`grep 'want_awl_version' inc/always.php.in | cut -f2 -d= | cut -f1 -d';' | sed 's: ::g'`"
+ fi
+
+ sed -e "/^ *.c->version_string *= *'[^']*' *;/ s/^ *.c->version_string *= *'[^']*' *;/\$c->version_string = '${DAVICAL_VERSION}';/" \