Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 16 Jun 2013 15:07:57 -0400
From:      Rod Person <rodperson@rodperson.com>
To:        Chris Rees <crees@FreeBSD.org>
Cc:        Ruslan Makhmatkhanov <cvs-src@yandex.ru>, FreeBSD Ports List <freebsd-ports@freebsd.org>
Subject:   Re: Problem with pkg-config and porting
Message-ID:  <51BE0D0D.8060001@rodperson.com>
In-Reply-To: <CADLo839uvzyRYdS5_u-dBF2j0QvqMcaOVsdjUt4SCefJmDE8Pw@mail.gmail.com>
References:  <51BE0539.1040303@rodperson.com> <CADLo839uvzyRYdS5_u-dBF2j0QvqMcaOVsdjUt4SCefJmDE8Pw@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 06/16/13 14:42, Chris Rees wrote:
> PORTNAME=       dunst
> PORTVERSION=    1.0.0
> #PORTREVISION=  1
> EXTRACT_SUFX=   .tar.bz2
> CATEGORIES=     sysutils
> MASTER_SITES=   http://www.knopwob.org/public/dunst-release/
>
> MAINTAINER=     rodperson@rodperson.com
> COMMENT=        Lightweight notification deamon
>
> LIB_DEPENDS=    dbus:${PORTSDIR}/devel/dbus \
>                 freetype:${PORTSDIR}/print/freetype2 \
>                 cairo:${PORTSDIR}/graphics/cairo \
>
> /usr/local/libdata/pkgconfig/xscrnsaver.pc:${PORTSDIR}/x11/libXScrnSaver
> This shouldn't be a LIB_DEPENDS.  LIB_DEPENDS checks the output of ldconfig -r.
>
> The line should probably read Xss:${PORTSDIR}/x11/libXScrnSaver
Thanks Chris and Ruslan.

This worked.

> Have a try-- for future reference, depending on a *file* needs
> RUN_DEPENDS and/or BUILD_DEPENDS.
>
> Chris
I then changed LIB_DEPENDS to BUILD_DEPENDS and this installed
and it built and installed dbus, freetype and cairo, even though I
thought these were already installed since using the LIB_DEPENDS found them?

I'll have to read up on these again.

Thanks.

-- 
Rod

"How do u know they didn't run place at they that?"
  -- Herb




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