pkgsrc-Changes archive

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

CVS commit: pkgsrc/sysutils/decode-dimms



Module Name:    pkgsrc
Committed By:   pgoyette
Date:           Wed Jul 25 04:48:22 UTC 2018

Modified Files:
        pkgsrc/sysutils/decode-dimms: Makefile

Log Message:
Move the revision string substituion stuff to pre-patch

Fix the substitution string to include the trailing / within the 's,
and add a blank line for readability (thanks jnemeth@ for these two).


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 pkgsrc/sysutils/decode-dimms/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/sysutils/decode-dimms/Makefile
diff -u pkgsrc/sysutils/decode-dimms/Makefile:1.5 pkgsrc/sysutils/decode-dimms/Makefile:1.6
--- pkgsrc/sysutils/decode-dimms/Makefile:1.5   Wed Jul 25 04:33:31 2018
+++ pkgsrc/sysutils/decode-dimms/Makefile       Wed Jul 25 04:48:22 2018
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2018/07/25 04:33:31 pgoyette Exp $
+# $NetBSD: Makefile,v 1.6 2018/07/25 04:48:22 pgoyette Exp $
 
 # no Release yet
 GIT_COMMIT=    84da8192c7c409f37c1906b60ef166c58aafc847
@@ -18,9 +18,9 @@ LICENSE=      gnu-gpl-v2
 REPLACE_PERL=  eeprom/decode-dimms
 
 SUBST_CLASSES+=                rev
-SUBST_STAGE.rev=        post-patch
+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";/'
 SUBST_SED.rev+=                -e '/^$$revision =~/d'
 
 NO_BUILD=      yes
@@ -30,6 +30,7 @@ USE_LANGUAGES=        # empty
 ONLY_FOR_PLATFORM= NetBSD-*-*
 
 INSTALLATION_DIRS=     bin ${PKGMANDIR}/man1
+
 do-install:
        ${INSTALL_SCRIPT} ${WRKSRC}/eeprom/decode-dimms \
                ${DESTDIR}${PREFIX}/bin/decode-dimms



Home | Main Index | Thread Index | Old Index