pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pkg/48033 (net/wireshark uses wrong python version)
The following reply was made to PR pkg/48033; it has been noted by GNATS.
From: =?ISO-8859-1?Q?J=F6rn_Clausen?= <joern.clausen%uni-bielefeld.de@localhost>
To: Thomas Klausner <wiz%NetBSD.org@localhost>
Cc: NetBSD bugtracking <gnats-bugs%NetBSD.org@localhost>
Subject: Re: pkg/48033 (net/wireshark uses wrong python version)
Date: Mon, 15 Jul 2013 11:18:52 +0200
On 11.07.13 22:24, Thomas Klausner wrote:
> On Thu, Jul 11, 2013 at 05:00:47PM +0200, Jörn Clausen wrote:
>> I have no clever idea how to substitute Solaris "which" with
>> something that behaves like other OSes, nor how to rewrite the
>> Makefile to achieve the same selection in a more portable way.
>
> I thought something like
> (elinks source> tmp&& mv tmp target) || whatever the alternate is
> might work. Can you come up with something from this?
> Thomas
Why not simply remove the tests?
faq.txt: $(srcdir)/faq.py
$(AM_V_GEN)$(srcdir)/faq.py >$@.tmp && \
( elinks -dump -dump-width 72 -no-numbering -no-references < $@.tmp >
$@ || \
links -width 72 -html-numbered-links 0 -dump $@.tmp >
$@ || \
lynx -dump -width=72 -nolist -stdin -force-html < $@.tmp >
$@ || \
$(srcdir)/../tools/html2text.py --width=72 --no-links $@.tmp > $@ )
&& \
rm -f $@.tmp
This will generate a few errors "... not found", but who cares?
--
Jörn Clausen
joern.clausen%uni-bielefeld.de@localhost
Hochschulrechenzentrum http://www.uni-bielefeld.de/hrz/
Universität Bielefeld
Home |
Main Index |
Thread Index |
Old Index