pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/lang/erlang
Module Name: pkgsrc
Committed By: rillig
Date: Sun Nov 3 18:11:51 UTC 2019
Modified Files:
pkgsrc/lang/erlang: Makefile versions.mk
Log Message:
lang/erlang: write _VERSIONS variable in a single line
In the previous version, pkglint would want to indent the continuation
line with a tab. To prevent this, the variable assignment is now printed
in its canonical format.
Just like humans, pkglint does not read the "do not edit" notice at the
top of the file. Maybe it should.
To generate a diff of this commit:
cvs rdiff -u -r1.95 -r1.96 pkgsrc/lang/erlang/Makefile
cvs rdiff -u -r1.13 -r1.14 pkgsrc/lang/erlang/versions.mk
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/lang/erlang/Makefile
diff -u pkgsrc/lang/erlang/Makefile:1.95 pkgsrc/lang/erlang/Makefile:1.96
--- pkgsrc/lang/erlang/Makefile:1.95 Sun Aug 11 13:21:19 2019
+++ pkgsrc/lang/erlang/Makefile Sun Nov 3 18:11:51 2019
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.95 2019/08/11 13:21:19 wiz Exp $
+# $NetBSD: Makefile,v 1.96 2019/11/03 18:11:51 rillig Exp $
DISTNAME= OTP-${DIST_VERSION_MAJOR}.${DIST_VERSION_MINOR}${!empty(DIST_VERSION_PATCH):?.:}${DIST_VERSION_PATCH}
PKGNAME= ${DISTNAME:S/OTP-/erlang-/}
@@ -101,9 +101,8 @@ pre-build:
versions: do-extract
@${ECHO} "# \$$NetBSD\$$" > ${.CURDIR}/versions.mk
@${ECHO} "# Do not edit, regenerate using 'make versions'" >> ${.CURDIR}/versions.mk
- @${ECHO} "_VERSIONS= \\" >> ${.CURDIR}/versions.mk
${AWK} -F: '/OTP-${PKGVERSION_NOREV} :/{print $$2}' ${WRKSRC}/otp_versions.table |\
- ${SED} -e 's/# //g' -e 's/-/ /g' >> ${.CURDIR}/versions.mk
+ ${SED} -e 's/# //g' -e 's/-/ /g' -e 's,^ ,_VERSIONS= ,' >> ${.CURDIR}/versions.mk
post-install:
chmod -R go-w ${DESTDIR}${PREFIX}/lib/erlang/lib
Index: pkgsrc/lang/erlang/versions.mk
diff -u pkgsrc/lang/erlang/versions.mk:1.13 pkgsrc/lang/erlang/versions.mk:1.14
--- pkgsrc/lang/erlang/versions.mk:1.13 Thu Aug 1 11:43:00 2019
+++ pkgsrc/lang/erlang/versions.mk Sun Nov 3 18:11:51 2019
@@ -1,4 +1,3 @@
-# $NetBSD: versions.mk,v 1.13 2019/08/01 11:43:00 nia Exp $
+# $NetBSD: versions.mk,v 1.14 2019/11/03 18:11:51 rillig Exp $
# Do not edit, regenerate using 'make versions'
-_VERSIONS= \
- compiler 7.4.4 asn1 5.0.9 common_test 1.17.3 crypto 4.5.1 debugger 4.2.7 dialyzer 4.0.3 diameter 2.2.1 edoc 0.11 eldap 1.2.8 erl_docgen 0.9.1 erl_interface 3.12 erts 10.4.4 et 1.6.4 eunit 2.3.7 ftp
1.0.2 hipe 3.19.1 inets 7.0.9 jinterface 1.10 kernel 6.4.1 megaco 3.18.5 mnesia 4.16 observer 2.9.1 odbc 2.12.4 os_mon 2.5 parsetools 2.1.8 public_key 1.6.7 reltool 0.8 runtime_tools 1.13.3 sasl 3.4
snmp 5.3 ssh 4.7.7 ssl 9.3.5 stdlib 3.9.2 syntax_tools 2.2 tftp 1.0.1 tools 3.2 wx 1.8.8 xmerl 1.3.21
+_VERSIONS= compiler 7.4.4 asn1 5.0.9 common_test 1.17.3 crypto 4.5.1 debugger 4.2.7 dialyzer 4.0.3 diameter 2.2.1 edoc 0.11 eldap 1.2.8 erl_docgen 0.9.1 erl_interface 3.12 erts 10.4.4 et 1.6.4
eunit 2.3.7 ftp 1.0.2 hipe 3.19.1 inets 7.0.9 jinterface 1.10 kernel 6.4.1 megaco 3.18.5 mnesia 4.16 observer 2.9.1 odbc 2.12.4 os_mon 2.5 parsetools 2.1.8 public_key 1.6.7 reltool 0.8 runtime_tools
1.13.3 sasl 3.4 snmp 5.3 ssh 4.7.7 ssl 9.3.5 stdlib 3.9.2 syntax_tools 2.2 tftp 1.0.1 tools 3.2 wx 1.8.8 xmerl 1.3.21
Home |
Main Index |
Thread Index |
Old Index