summaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authorpgoyette <pgoyette@pkgsrc.org>2019-06-25 15:35:33 +0000
committerpgoyette <pgoyette@pkgsrc.org>2019-06-25 15:35:33 +0000
commit06d3bf73b8b9803b58a0cbdab3c5ceedc3bec692 (patch)
treee7709378adaeb25d1ea2a185817f0b8b540b41e4 /sysutils
parent2a36bfc998401607851cc70d428fb9e334d1123f (diff)
downloadpkgsrc-06d3bf73b8b9803b58a0cbdab3c5ceedc3bec692.tar.gz
Resolve remaining pkglint issues:
- move SUBST to post-extract (instead of pre-patch) - add rationale for the ONLY_FOR_PLATFORM NFCI
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/decode-dimms/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/sysutils/decode-dimms/Makefile b/sysutils/decode-dimms/Makefile
index 0425642d304..3ac15fc99f2 100644
--- a/sysutils/decode-dimms/Makefile
+++ b/sysutils/decode-dimms/Makefile
@@ -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 @@ USE_TOOLS+= perl:run
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 @@ NO_BUILD= yes
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