diff --git a/infrastructure/lib/OpenBSD/PortGen/Port.pm b/infrastructure/lib/OpenBSD/PortGen/Port.pm index da1697fead9..a55d2ad5e02 100644 --- a/infrastructure/lib/OpenBSD/PortGen/Port.pm +++ b/infrastructure/lib/OpenBSD/PortGen/Port.pm @@ -1,4 +1,4 @@ -# $OpenBSD: Port.pm,v 1.9 2019/05/11 15:12:58 afresh1 Exp $ +# $OpenBSD: Port.pm,v 1.10 2019/05/11 15:16:33 afresh1 Exp $ # # Copyright (c) 2015 Giannis Tsaraias # Copyright (c) 2019 Andrew Hewus Fresh @@ -273,11 +273,12 @@ sub write_makefile grep { $_->{name} ne 'REVISION' } grep { ref } @template; } else { + my $tag = 'OpenBSD'; my $template = ports_dir() . '/infrastructure/templates/Makefile.template'; @template = ( - '# $OpenBSD: Port.pm,v 1.9 2019/05/11 15:12:58 afresh1 Exp $', + "# \$$tag\$", grep { $_ !~ /^\#/x } $self->parse_makefile($template) ); }