From a9e12da4f5210a704c6cc1da5500c2e7c348b4be Mon Sep 17 00:00:00 2001 From: wiz Date: Sun, 22 Mar 2009 19:57:08 +0000 Subject: Convert to destdir (not user-destdir, because of libgtop_server2). --- sysutils/libgtop/Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/sysutils/libgtop/Makefile b/sysutils/libgtop/Makefile index b5d291d64fa..176eb617881 100644 --- a/sysutils/libgtop/Makefile +++ b/sysutils/libgtop/Makefile @@ -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 @@ MAINTAINER= pkgsrc-users@NetBSD.org 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 @@ PLIST.suid.h= yes .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 -- cgit v1.2.3