pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/databases/rrdtool The script interpreter for examples/...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/7c23c491e109
branches:  trunk
changeset: 509029:7c23c491e109
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Thu Mar 02 12:23:56 2006 +0000

description:
The script interpreter for examples/cgi-demo.cgi had to be corrected, as
the @exec_prefix@ is resolved to the literal ${prefix}, unexpanded.
Bumped PKGREVISION.

diffstat:

 databases/rrdtool/Makefile |  10 ++++++++--
 1 files changed, 8 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r c1babbe4daca -r 7c23c491e109 databases/rrdtool/Makefile
--- a/databases/rrdtool/Makefile        Thu Mar 02 11:52:03 2006 +0000
+++ b/databases/rrdtool/Makefile        Thu Mar 02 12:23:56 2006 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.45 2006/02/05 23:08:37 joerg Exp $
+# $NetBSD: Makefile,v 1.46 2006/03/02 12:23:56 rillig Exp $
 
 DISTNAME=      rrdtool-1.2.12
-PKGREVISION=   1
+PKGREVISION=   2
 CATEGORIES=    databases graphics net
 MASTER_SITES=  http://people.ee.ethz.ch/~oetiker/webtools/rrdtool/pub/
 
@@ -32,6 +32,12 @@
 
 RRDDOCDIR=             ${PREFIX}/share/doc/rrdtool
 
+SUBST_CLASSES+=                prefix
+SUBST_STAGE.prefix=    post-build
+SUBST_MESSAGE.prefix=  Fixing $${prefix} in scripts.
+SUBST_FILES.prefix=    examples/cgi-demo.cgi
+SUBST_SED.prefix=      -e '1s,^\#! \$${prefix},\#! ${PREFIX},'
+
 .include "../../graphics/freetype2/buildlink3.mk"
 .include "../../graphics/png/buildlink3.mk"
 .include "../../graphics/libart2/buildlink3.mk"



Home | Main Index | Thread Index | Old Index