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:34:09 +0200

 On 15.07.13 11:18, Jörn Clausen wrote:
 > 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?
 
 Plus "faq.txt" is distributed with the sources. In 1.8.8 it is older 
 than faq.py, but in 1.10.0 it is up to date, i.e. the rule won't even fire.
 
 -- 
   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