summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwiz <wiz>2009-03-22 19:57:08 +0000
committerwiz <wiz>2009-03-22 19:57:08 +0000
commita9e12da4f5210a704c6cc1da5500c2e7c348b4be (patch)
tree43990692eb547ea2240577cb7a0f4e08aba2b892
parent07fea1711e25fafa36d9431b8b13fe0595952fff (diff)
downloadpkgsrc-a9e12da4f5210a704c6cc1da5500c2e7c348b4be.tar.gz
Convert to destdir (not user-destdir, because of libgtop_server2).
-rw-r--r--sysutils/libgtop/Makefile6
1 files 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