pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/sysutils/decode-dimms Remove REPLACE_PERL as it's not ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c12b91962450
branches:  trunk
changeset: 310830:c12b91962450
user:      pgoyette <pgoyette%pkgsrc.org@localhost>
date:      Wed Jul 25 04:24:05 2018 +0000

description:
Remove REPLACE_PERL as it's not doing anything

Edit the tool to have a useful version identifier - avoiding any
attempts for repository-management tools to perform substitution on
$Revision$ and $Date$

diffstat:

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

diffs (22 lines):

diff -r daf1bd5edee8 -r c12b91962450 sysutils/decode-dimms/Makefile
--- a/sysutils/decode-dimms/Makefile    Wed Jul 25 02:40:44 2018 +0000
+++ b/sysutils/decode-dimms/Makefile    Wed Jul 25 04:24:05 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2018/07/25 02:05:26 pgoyette Exp $
+# $NetBSD: Makefile,v 1.4 2018/07/25 04:24:05 pgoyette Exp $
 
 # no Release yet
 GIT_COMMIT=    84da8192c7c409f37c1906b60ef166c58aafc847
@@ -15,7 +15,11 @@
 COMMENT=       Decode memory DIMM SPD ROM info
 LICENSE=       gnu-gpl-v2
 
-REPLACE_PERL+= eeprom/decode-dimms
+SUBST_CLASSES+=                rev
+SUBST_STAGE.rev=        post-patch
+SUBST_FILES.rev=        eeprom/decode-dimms
+SUBST_SED.rev=          -e 's/^$$revision = .*;/$$revision = "20171205";'/
+SUBST_SED.rev+=                -e '/^$$revision =~/d'
 
 NO_BUILD=      yes
 



Home | Main Index | Thread Index | Old Index