pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/sysutils/py-psutil Better PLIST processing; won't fail...
details: https://anonhg.NetBSD.org/pkgsrc/rev/4e379c3ba48b
branches: trunk
changeset: 645185:4e379c3ba48b
user: adam <adam%pkgsrc.org@localhost>
date: Sat Jan 24 23:23:48 2015 +0000
description:
Better PLIST processing; won't fail if built as a dependency.
diffstat:
sysutils/py-psutil/Makefile | 10 +++++-----
sysutils/py-psutil/PLIST | 4 ++--
2 files changed, 7 insertions(+), 7 deletions(-)
diffs (35 lines):
diff -r c95020aa8636 -r 4e379c3ba48b sysutils/py-psutil/Makefile
--- a/sysutils/py-psutil/Makefile Sat Jan 24 23:01:29 2015 +0000
+++ b/sysutils/py-psutil/Makefile Sat Jan 24 23:23:48 2015 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.10 2015/01/24 23:01:29 adam Exp $
+# $NetBSD: Makefile,v 1.11 2015/01/24 23:23:48 adam Exp $
DISTNAME= psutil-2.1.3
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
@@ -15,10 +15,10 @@
.include "../../mk/bsd.prefs.mk"
# facilitate PLIST processing
-.if ${OPSYS} == "SunOS"
-LOWER_OPSYS= ${OPSYS:tl}
-.elif ${OPSYS} == "Darwin"
-LOWER_OPSYS= osx
+.if ${OPSYS} == "Darwin"
+PLIST_SUBST+= SYSTEM=osx
+.else
+PLIST_SUBST+= SYSTEM=${OPSYS:tl}
.endif
.include "../../lang/python/application.mk"
diff -r c95020aa8636 -r 4e379c3ba48b sysutils/py-psutil/PLIST
--- a/sysutils/py-psutil/PLIST Sat Jan 24 23:01:29 2015 +0000
+++ b/sysutils/py-psutil/PLIST Sat Jan 24 23:23:48 2015 +0000
@@ -1,5 +1,5 @@
-@comment $NetBSD: PLIST,v 1.4 2015/01/24 23:01:29 adam Exp $
-${PYSITELIB}/_psutil_${LOWER_OPSYS}.so
+@comment $NetBSD: PLIST,v 1.5 2015/01/24 23:23:48 adam Exp $
+${PYSITELIB}/_psutil_${SYSTEM}.so
${PYSITELIB}/_psutil_posix.so
${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
Home |
Main Index |
Thread Index |
Old Index