Remove hardcoding of /usr/pkg, use $(LOCALBASE) instead.

Part of fixing PR#34977.
This commit is contained in:
he 2010-12-20 08:40:19 +00:00
parent e87b204cd1
commit 600ae57c12
2 changed files with 6 additions and 4 deletions

View file

@ -1,7 +1,7 @@
$NetBSD: distinfo,v 1.3 2006/12/05 14:53:32 xtraeme Exp $
$NetBSD: distinfo,v 1.4 2010/12/20 08:40:19 he Exp $
SHA1 (munin_1.3.2.tar.gz) = 575c1dc3373e2e001accd1920fd815d9b875c95a
RMD160 (munin_1.3.2.tar.gz) = 7bcc16d00ad28731041015ef240144ed0c4fdeb4
Size (munin_1.3.2.tar.gz) = 309319 bytes
SHA1 (patch-aa) = f17112a37d968d507bee23069d580c98ee8b1807
SHA1 (patch-aa) = 88e5e98f6ea901d1291c73812a92ba452fe76570
SHA1 (patch-ad) = 8accd3875324035f2c95903fc37cee4b4a55948a

View file

@ -1,4 +1,6 @@
$NetBSD: patch-aa,v 1.2 2006/07/02 10:37:29 rillig Exp $
$NetBSD: patch-aa,v 1.3 2010/12/20 08:40:19 he Exp $
Redefine where we install this package.
--- Makefile.config.orig 2005-01-10 11:38:22.000000000 +0100
+++ Makefile.config
@ -10,7 +12,7 @@ $NetBSD: patch-aa,v 1.2 2006/07/02 10:37:29 rillig Exp $
+ifdef PREFIX
+UPREFIX = $(DESTDIR)$(PREFIX)
+else
+UPREFIX= = $(DESTDIR)/usr/pkg
+UPREFIX= = $(DESTDIR)$(LOCALBASE)
+endif
# Where Munin keeps its configurations (server.conf, client.conf, ++)