summaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authorpgoyette <pgoyette@pkgsrc.org>2018-07-25 04:53:44 +0000
committerpgoyette <pgoyette@pkgsrc.org>2018-07-25 04:53:44 +0000
commit0be0a5b64e2e079666f209e53e06049aa53afb74 (patch)
tree4d1fd7d81f7f5fb8d1ac6db0474a3890c25410db /sysutils
parent4e8924d85dbba6a277ed7bf9f9ae7d22d0201664 (diff)
downloadpkgsrc-0be0a5b64e2e079666f209e53e06049aa53afb74.tar.gz
Include the GIT_COMMIT id in the new revision string, as well as the
date.
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/decode-dimms/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysutils/decode-dimms/Makefile b/sysutils/decode-dimms/Makefile
index 0888398815d..991a7a5482e 100644
--- a/sysutils/decode-dimms/Makefile
+++ b/sysutils/decode-dimms/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.6 2018/07/25 04:48:22 pgoyette Exp $
+# $NetBSD: Makefile,v 1.7 2018/07/25 04:53:44 pgoyette Exp $
# no Release yet
GIT_COMMIT= 84da8192c7c409f37c1906b60ef166c58aafc847
@@ -20,7 +20,7 @@ REPLACE_PERL= eeprom/decode-dimms
SUBST_CLASSES+= rev
SUBST_STAGE.rev= pre-patch
SUBST_FILES.rev= eeprom/decode-dimms
-SUBST_SED.rev= -e 's/^$$revision = .*;/$$revision = "20171205";/'
+SUBST_SED.rev= -e 's/^$$revision = .*;/$$revision = "20171205-${GIT_COMMIT}";/'
SUBST_SED.rev+= -e '/^$$revision =~/d'
NO_BUILD= yes