add a comment on the MODGO_VERSION line output by "make modgo-gen-modules"
that it shouldn't go into modules.inc; low-tech approach but hopefully people will notice it if they read their diff before sending it out ;) tb@ thinks it would help too.
This commit is contained in:
parent
51b8ec1b44
commit
c98f24d215
@ -1,6 +1,6 @@
|
||||
#!/usr/bin/perl
|
||||
|
||||
# $OpenBSD: modgo-gen-modules-helper,v 1.3 2021/07/03 02:37:46 abieber Exp $
|
||||
# $OpenBSD: modgo-gen-modules-helper,v 1.4 2022/12/29 23:45:12 sthen Exp $
|
||||
#
|
||||
# Copyright (c) 2020 Paco Esteban <paco@openbsd.org>
|
||||
#
|
||||
@ -44,6 +44,6 @@ my $portinfo = $port->get_dist_info($module);
|
||||
$port->set_other( MODGO_MODULES => "\\\n" . join(" \\\n", @{$portinfo->{Dist}})) if $portinfo->{Dist};
|
||||
$port->set_other( MODGO_MODFILES => "\\\n" . join(" \\\n", @{$portinfo->{Mods}})) if $portinfo->{Mods};
|
||||
|
||||
say "MODGO_VERSION =\t$portinfo->{Version}\n";
|
||||
say "MODGO_VERSION =\t$portinfo->{Version} # add this to Makefile, not modules.inc\n";
|
||||
say "MODGO_MODULES =\t$port->{'MODGO_MODULES'}\n" if defined($port->{'MODGO_MODULES'});
|
||||
say "MODGO_MODFILES =\t$port->{'MODGO_MODFILES'}\n" if defined($port->{'MODGO_MODFILES'});
|
||||
|
Loading…
Reference in New Issue
Block a user