pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/sysutils/libgtop Convert to destdir (not user-destdir,...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/1f16d5762824
branches:  trunk
changeset: 556561:1f16d5762824
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Sun Mar 22 19:57:08 2009 +0000

description:
Convert to destdir (not user-destdir, because of libgtop_server2).

diffstat:

 sysutils/libgtop/Makefile |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (27 lines):

diff -r ad778983d2be -r 1f16d5762824 sysutils/libgtop/Makefile
--- a/sysutils/libgtop/Makefile Sun Mar 22 19:55:42 2009 +0000
+++ b/sysutils/libgtop/Makefile Sun Mar 22 19:57:08 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.23 2009/03/22 19:53:15 wiz Exp $
+# $NetBSD: Makefile,v 1.24 2009/03/22 19:57:08 wiz Exp $
 
 DISTNAME=              libgtop-2.26.0
 CATEGORIES=            sysutils gnome
@@ -9,6 +9,8 @@
 HOMEPAGE=              http://www.gnome.org/
 COMMENT=               Library to retrieve system information, used in GNOME2
 
+PKG_DESTDIR_SUPPORT=   destdir
+
 OSVERSION_SPECIFIC=    YES
 
 GNU_CONFIGURE=         YES
@@ -57,7 +59,7 @@
 
 .if defined(PLIST.server)
 post-install:
-       ${CHMOD} g+s ${PREFIX}/bin/libgtop_server2
+       ${CHMOD} g+s ${DESTDIR}${PREFIX}/bin/libgtop_server2
 .endif
 
 # XXX This needs a check in the configure script, which should be clean



Home | Main Index | Thread Index | Old Index