Re: libgee-0.6.2.1: error in pkg-plist

2011-11-13 Thread Matthias Apitz
El día Saturday, November 12, 2011 a las 03:35:25PM +, 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 g...@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
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: libgee-0.6.2.1: error in pkg-plist

2011-11-13 Thread Koop Mast

On 13-11-2011 15:49, Matthias Apitz wrote:

El día Saturday, November 12, 2011 a las 03:35:25PM +, 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


This should be fixed by a commit done on wednesday. Can you update your 
ports tree and try again?


-Koop
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


libgee-0.6.2.1: error in pkg-plist

2011-11-12 Thread Matthias Apitz

Hello,

While making binary packages of the ports installed on my 10-CURRENT I
encountered a small error in the pkg-plist file of ports/devel/libgee:

the port installs the pkgconfig file gee-1.0.pc in the location

...
test -z /usr/local/lib/pkgconfig || /usr/local/bin/gmkdir -p /usr/local/lib/p
kgconfig
 /usr/bin/install -c -m 644 gee-1.0.pc '/usr/local/lib/pkgconfig'

while the pkg-plist says it is in libdata/pkgconfig/gee-1.0.pc; this
gives at least on pkg_create the following error:

caracas# pkg_create -b libgee-0.6.2.1
tar: libdata/pkgconfig/gee-1.0.pc: Cannot stat: No such file or directory
tar: Error exit delayed from previous errors.
pkg_create: make_dist: tar command failed with code 256


HIH

matthias
-- 
Matthias Apitz
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e g...@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
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: libgee-0.6.2.1: error in pkg-plist

2011-11-12 Thread Chris Rees
On 12 November 2011 15:10, Matthias Apitz g...@unixarea.de wrote:

 Hello,

 While making binary packages of the ports installed on my 10-CURRENT I
 encountered a small error in the pkg-plist file of ports/devel/libgee:

 the port installs the pkgconfig file gee-1.0.pc in the location

 ...
 test -z /usr/local/lib/pkgconfig || /usr/local/bin/gmkdir -p 
 /usr/local/lib/p
 kgconfig
  /usr/bin/install -c -m 644 gee-1.0.pc '/usr/local/lib/pkgconfig'

 while the pkg-plist says it is in libdata/pkgconfig/gee-1.0.pc; this
 gives at least on pkg_create the following error:

 caracas# pkg_create -b libgee-0.6.2.1
 tar: libdata/pkgconfig/gee-1.0.pc: Cannot stat: No such file or directory
 tar: Error exit delayed from previous errors.
 pkg_create: make_dist: tar command failed with code 256


 HIH

        matthias

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%

Chris
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org