Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 13 Nov 2011 15:49:39 +0100
From:      Matthias Apitz <guru@unixarea.de>
To:        Chris Rees <crees@freebsd.org>
Cc:        kwm@freebsd.org, freebsd-ports@freebsd.org
Subject:   Re: libgee-0.6.2.1: error in pkg-plist
Message-ID:  <20111113144939.GA7447@tinyCurrent>
In-Reply-To: <CADLo83-yP=Mt4d5Q%2B0NZrO1MZUEnW5YXYNt4w4MTaksibe7JoA@mail.gmail.com>
References:  <20111112151001.GA3289@tinyCurrent> <CADLo83-yP=Mt4d5Q%2B0NZrO1MZUEnW5YXYNt4w4MTaksibe7JoA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
El día Saturday, November 12, 2011 a las 03:35:25PM +0000, Chris Rees escribió:

> This isn't a plist problem; it's an
> autotools-doesn't-understand-FreeBSD-10 problem.
> 
> On previous versions it works fine;
> 
> [crees@pegasus]~/libgee% grep '^pkgconfigdir' work/libgee-0.6.2.1/Makefile
> pkgconfigdir = $(prefix)/libdata/pkgconfig
> [crees@pegasus]~/libgee%

Seems so. If you do it step-by-step and check the Makefile for it it
looks like this:

caracas# make clean
===>  Cleaning for libgee-0.6.2.1

caracas# make extract
===>  Vulnerability check disabled, database not found
===>  License check disabled, port has not defined LICENSE
===>  Extracting for libgee-0.6.2.1
=> SHA256 Checksum OK for libgee-0.6.2.1.tar.xz.
caracas# grep '^pkgconfigdir' work/libgee-0.6.2.1/Makefile*
work/libgee-0.6.2.1/Makefile.am:pkgconfigdir = $(libdir)/pkgconfig
work/libgee-0.6.2.1/Makefile.in:pkgconfigdir = $(libdir)/pkgconfig

caracas# make configure
...
caracas# grep '^pkgconfigdir' work/libgee-0.6.2.1/Makefile*
work/libgee-0.6.2.1/Makefile:pkgconfigdir = $(prefix)/libdata/pkgconfig
work/libgee-0.6.2.1/Makefile.am:pkgconfigdir = $(libdir)/pkgconfig
work/libgee-0.6.2.1/Makefile.in:pkgconfigdir =
$(prefix)/libdata/pkgconfig
work/libgee-0.6.2.1/Makefile.in.bak:pkgconfigdir = $(libdir)/pkgconfig

caracas# make
...
caracas# grep '^pkgconfigdir' work/libgee-0.6.2.1/Makefile*
work/libgee-0.6.2.1/Makefile:pkgconfigdir = $(libdir)/pkgconfig
work/libgee-0.6.2.1/Makefile.am:pkgconfigdir = $(libdir)/pkgconfig
work/libgee-0.6.2.1/Makefile.in:pkgconfigdir = $(libdir)/pkgconfig
work/libgee-0.6.2.1/Makefile.in.bak:pkgconfigdir = $(libdir)/pkgconfig

as you see the 'make' changes the Makefile again produced by 'make
configure', why? All the above is with UNAME_r set to 9.0-CURRENT;

if you set in addition OSVERSION to 9.0, all is fine;

	matthias
-- 
Matthias Apitz
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e <guru@unixarea.de> - w http://www.unixarea.de/
UNIX since V7 on PDP-11, UNIX on mainframe since ESER 1055 (IBM /370)
UNIX on x86 since SVR4.2 UnixWare 2.1.2, FreeBSD since 2.2.5



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20111113144939.GA7447>