RPM Community Forums

Mailing List Message of <popt-devel>

Re: popt-1.13 -- VPATH build problem + patch

From: Michael Jennings <mej@kainx.org>
Date: Tue 08 Jan 2008 - 20:00:35 CET
Message-ID: <20080108190035.GX18716@kainx.org>
On Tuesday, 08 January 2008, at 19:07:23 (+0100),
Peter Breitenlohner wrote:

> Hi,
>
> I'd like to suggest the attached patch for popt-1.13 in order that "make
> check" succeeds for a VPATH build.
>
> regards
> Peter Breitenlohner <peb@mppmu.mpg.de>

> 	Allow "make check" to succeed for a VPATH build
> 
> diff -ur popt-1.13.orig/testit.sh popt-1.13/testit.sh
> --- popt-1.13.orig/testit.sh	2007-05-25 19:36:23.000000000 +0200
> +++ popt-1.13/testit.sh	2008-01-08 18:53:34.000000000 +0100
> @@ -39,7 +39,7 @@
>  }
>  
>  builddir=`pwd`
> -srcdir=$builddir
> +srcdir=`dirname $0`
>  cd ${srcdir}
>  test1=${builddir}/test1
>  echo "Running tests in `pwd`"

What if testit.sh were called as ./testit.sh?

Michael

-- 
Michael Jennings (a.k.a. KainX)  http://www.kainx.org/  <mej@kainx.org>
Linux Server/Cluster Admin, LBL.gov       Author, Eterm (www.eterm.org)
-----------------------------------------------------------------------
 "I gave you my purity, and my purity you stole.  Did you think I
  wouldn't recognize this compromise?  Am I just to stupid to realize?
  Stale incense, old sweat, and lies, lies, lies."
                                             -- Nine Inch Nails, "sin"
Received on Tue Jan 8 20:00:37 2008
Driven by Jeff Johnson and the RPM project team.
Hosted by OpenPKG and Ralf S. Engelschall.
Powered by FreeBSD and OpenPKG.