From e33e37d8057c599bca0a6f6bac991d7c23a61039 Mon Sep 17 00:00:00 2001 From: Vadim Zhukov Date: Sat, 27 May 2017 10:35:42 +0000 Subject: Make libtool handle --tag=... inside command line. Unbreaks (and changes PLIST) multimedia/lives under Clang, and maybe others. okay espie@ --- usr.bin/libtool/LT/Getopt.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'usr.bin/libtool/LT') diff --git a/usr.bin/libtool/LT/Getopt.pm b/usr.bin/libtool/LT/Getopt.pm index 77810ecf2dc..1798518bf6c 100644 --- a/usr.bin/libtool/LT/Getopt.pm +++ b/usr.bin/libtool/LT/Getopt.pm @@ -1,4 +1,4 @@ -# $OpenBSD: Getopt.pm,v 1.12 2014/03/19 02:16:22 afresh1 Exp $ +# $OpenBSD: Getopt.pm,v 1.13 2017/05/27 10:35:41 zhuk Exp $ # Copyright (c) 2012 Marc Espie # @@ -228,6 +228,7 @@ sub create_options my ($self, @l) = @_; my @options = (); # first pass creates accessors + push(@l, '-tag=', sub { $self->add_tag($_[2]); }); while (my $opt = shift @l) { my $isarray = ($opt =~ s/\@$//); # default code or not -- cgit v1.2.3