pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/sysutils/decode-dimms Resolve remaining pkglint issues:



details:   https://anonhg.NetBSD.org/pkgsrc/rev/bfccb05ce401
branches:  trunk
changeset: 397483:bfccb05ce401
user:      pgoyette <pgoyette%pkgsrc.org@localhost>
date:      Tue Jun 25 15:35:33 2019 +0000

description:
Resolve remaining pkglint issues:
        - move SUBST to post-extract (instead of pre-patch)
        - add rationale for the ONLY_FOR_PLATFORM

NFCI

diffstat:

 sysutils/decode-dimms/Makefile |  7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diffs (28 lines):

diff -r b998b952e967 -r bfccb05ce401 sysutils/decode-dimms/Makefile
--- a/sysutils/decode-dimms/Makefile    Tue Jun 25 15:19:36 2019 +0000
+++ b/sysutils/decode-dimms/Makefile    Tue Jun 25 15:35:33 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.17 2019/06/25 15:19:36 pgoyette Exp $
+# $NetBSD: Makefile,v 1.18 2019/06/25 15:35:33 pgoyette Exp $
 
 # no Release yet
 PKG_DATE=      20190619
@@ -17,7 +17,7 @@
 REPLACE_PERL=  eeprom/decode-dimms
 
 SUBST_CLASSES+=                rev
-SUBST_STAGE.rev=       pre-patch
+SUBST_STAGE.rev=       post-extract
 SUBST_FILES.rev=       eeprom/decode-dimms
 SUBST_SED.rev=         -e 's/^$$revision = .*;/$$revision = "${PKG_DATE}-${GIT_COMMIT}";/'
 SUBST_SED.rev+=                -e '/^$$revision =~/d'
@@ -26,6 +26,9 @@
 
 USE_LANGUAGES= # empty
 
+# This package's primary purpose is to introduce use of hw.spdmem* sysctl
+# as the source of SPD data; these sysctl variables are only available on
+# NetBSD (and only if the spdmem(4) device is configured).
 ONLY_FOR_PLATFORM=     NetBSD-*-*
 
 INSTALLATION_DIRS=     bin ${PKGMANDIR}/man1



Home | Main Index | Thread Index | Old Index