pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/52561: devel/npth broken



The following reply was made to PR pkg/52561; it has been noted by GNATS.

From: Thomas Klausner <wiz%NetBSD.org@localhost>
To: NetBSD bugtracking <gnats-bugs%NetBSD.org@localhost>
Cc: 
Subject: Re: pkg/52561: devel/npth broken
Date: Wed, 20 Sep 2017 10:09:13 +0200

 On Wed, Sep 20, 2017 at 07:05:00AM +0000, joern.clausen%uni-bielefeld.de@localhost wrote:
 > After installing devel/npth, npth-config is unusable:
 > 
 > $ npth-config --version
 > /opt/pkg-hrz/20170814/bin/npth-config: line 43: syntax error at line 92: `newline' unexpected
 > 
 > I see this behavior both on NetBSD 7.0.1/amd64 and Solaris 11.3/i86.
 
 Works for me on NetBSD-8.99.2/amd64.
 
 > After "make configure", a working script is generated, after "make", this script is broken in this fashion:
 > 
 >  --- npth-config.ok      2017-09-19 14:44:24.000000000 +0200
 >  +++ npth-config 2017-09-19 14:44:27.000000000 +0200
 >  @@ -87,7 +87,7 @@
 >                for i in $cflags ; do
 >                  skip=no
 >                  case $i in
 >  -                  -I/usr/include|-I/include)
 >  +
 >                          skip=yes
 >                          ;;
 >                      -I*)
 >  @@ -110,7 +110,7 @@
 >                for i in $libs ; do
 >                  skip=no
 >                  case $i in
 >  -                  -L/usr/lib|-L/lib)
 >  +
 >                          skip=yes
 >                          ;;
 >                      -L*|-l*)
 
 Reverse diffs make understanding harder :)
 
 The npth-config installed by npth-1.5 on 8.99.2/amd64 has the "ok"
 lines already inside. Even the npth-config.in file coming with the
 distribution has them.
 
 Please find out why/how they are broken for you.
 
 Thanks,
  Thomas
 


Home | Main Index | Thread Index | Old Index