[csw-devel] SF.net SVN: gar:[20987] csw/mgar/pkg
Ralph Boehme
sloowfranklin at gmail.com
Mon May 6 10:41:22 CEST 2013
Am 04.05.2013 um 19:45 schrieb Maciej Bliziński <maciej at opencsw.org>:
> On Sat, May 04, 2013 at 07:16:59PM +0200, Ralph Böhme wrote:
>> 2013/5/4 Maciej Bliziński <maciej at opencsw.org>:
>>>> +DISTFILES = $(NAME)-$(VERSION).tar.bz2
>>>
>>> You can use DISTNAME instead of $(NAME)-$(VERSION).
>>
>> Yeah, I tend to forget the template value.
>>
>>> Note to self: we should fix the template.
>>
>> Yes please. ;)
>
> Just checked, it has already been fixed. Cool!
>
>>>
>>>> +GARCOMPILER = GNU
>>>> +
>>>> +EXTRA_PKG_CONFIG_DIRS = $(prefix)/X11/lib
>>>
>>> We should not be using /opt/csw/X11, we should be using system X11
>>> instead.
>>
>> ??? Why?
>
> How it started:
> http://lists.opencsw.org/pipermail/maintainers/2010-May/012133.html
>
> How it ended:
> http://lists.opencsw.org/pipermail/maintainers/2010-March/011672.html
So in essence, new packages should not be using opencsw X11 stuff from /opt/csw/x11 ?
But then how do I tackle this:
- the package needs xproto
- the package consumes several other libs via pkg-config
Should I add the system pkg-config path to EXTRA_PKG_CONFIG_DIRS? i.e.
Makefile:EXTRA_PKG_CONFIG_DIRS = /usr/share/pkgconfig
Depending on the precedence ordering this may result in pkg-config preferring packages from the system over the opencsw packages.
-slow
More information about the devel
mailing list