diff options
author | rillig <rillig@pkgsrc.org> | 2006-07-02 10:37:29 +0000 |
---|---|---|
committer | rillig <rillig@pkgsrc.org> | 2006-07-02 10:37:29 +0000 |
commit | b6eb83541a226f2c90063c9e6cec5263bc5876f9 (patch) | |
tree | b992e01adfc1ba92f626d459ec45868ca7c93485 /sysutils/munin-doc/patches | |
parent | e34dcfcba2ac2c419d9a52ec7efd646b73b15c39 (diff) | |
download | pkgsrc-b6eb83541a226f2c90063c9e6cec5263bc5876f9.tar.gz |
Fixed the case when PREFIX != "/usr/pkg". The ifdef directive of GNU
Make takes a variable _name_, not its value as argument.
Diffstat (limited to 'sysutils/munin-doc/patches')
-rw-r--r-- | sysutils/munin-doc/patches/patch-aa | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sysutils/munin-doc/patches/patch-aa b/sysutils/munin-doc/patches/patch-aa index d14df88234e..effc9354514 100644 --- a/sysutils/munin-doc/patches/patch-aa +++ b/sysutils/munin-doc/patches/patch-aa @@ -1,4 +1,4 @@ -$NetBSD: patch-aa,v 1.1.1.1 2006/06/08 19:03:34 he Exp $ +$NetBSD: patch-aa,v 1.2 2006/07/02 10:37:29 rillig Exp $ --- Makefile.config.orig 2005-01-10 11:38:22.000000000 +0100 +++ Makefile.config @@ -7,10 +7,10 @@ $NetBSD: patch-aa,v 1.1.1.1 2006/06/08 19:03:34 he Exp $ # the base of the Munin installation. # -PREFIX = $(DESTDIR)/opt/munin -+ifdef $(PREFIX) -+UPREFIX=$(PREFIX) ++ifdef PREFIX ++UPREFIX = $(DESTDIR)$(PREFIX) +else -+UPREFIX=/usr/pkg ++UPREFIX= = $(DESTDIR)/usr/pkg +endif # Where Munin keeps its configurations (server.conf, client.conf, ++) |