pkgsrc-Changes archive

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

Re: CVS commit: pkgsrc/devel/zlib



Le 09/12/13 17:09, Thomas Klausner a écrit :
On Mon, Dec 09, 2013 at 04:09:42PM +0100, Richard PALO wrote:
Le 09/12/13 15:51, Thomas Klausner a écrit :
On Sat, Nov 30, 2013 at 11:14:10AM +0000, Richard Palo wrote:
Module Name:    pkgsrc
Committed By:   richard
Date:           Sat Nov 30 11:14:10 UTC 2013

Modified Files:
        pkgsrc/devel/zlib: Makefile PLIST
Added Files:
        pkgsrc/devel/zlib/files: zlib.pc.in

Log Message:
provide zlib.pc for pkg-config to facilitate configure where possible

That's only half the solution; the zlib.pc should also be created for
builtin zlib, otherwise packages depending on pkg-config will only
work when zlib is installed from pkgsrc. Can you take a look at the
second part as well, please?
  Thomas


On SunOS, zlib.pc exists as per the upstream distribution.

Are there other ${OPSYS} that do as pkgsrc does, that is do partial
installs (or perhaps have an ancient version)?

NetBSD :)

If such is the case, perhaps those who have such a distro should
consider adapting a fake zlib.pc wrapper to construct in builtin.mk.

BTW, This is similar to what was needed to be done for krb5-config
on SunOS (which is pending integration as we speak).


Ah, I see zlib.pc.in was added in v1.2.4 and NetBSD seems to be running the version prior. crotte...

Wouldn't it be easier to define ZLIB_{CPPFLAGS,CFLAGS,LIBS} in buildlink3.mk if zlib.pc isn't found in an appropriate place during builtin.mk?

Alternately, set minimal version to 1.2.4.  (just kidding, I think ;-) )



Home | Main Index | Thread Index | Old Index