From owner-freebsd-ports@FreeBSD.ORG Sun Jun 16 19:07:59 2013 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 20BBABDB; Sun, 16 Jun 2013 19:07:59 +0000 (UTC) (envelope-from rodperson@rodperson.com) Received: from www6.pairlite.com (www6.pairlite.com [64.130.10.16]) by mx1.freebsd.org (Postfix) with ESMTP id 8AE421452; Sun, 16 Jun 2013 19:07:58 +0000 (UTC) Received: from [192.168.1.10] (c-71-60-224-178.hsd1.pa.comcast.net [71.60.224.178]) by www6.pairlite.com (Postfix) with ESMTPSA id 2BECD67AEE; Sun, 16 Jun 2013 15:07:58 -0400 (EDT) Message-ID: <51BE0D0D.8060001@rodperson.com> Date: Sun, 16 Jun 2013 15:07:57 -0400 From: Rod Person User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130526 Thunderbird/17.0.6 MIME-Version: 1.0 To: Chris Rees Subject: Re: Problem with pkg-config and porting References: <51BE0539.1040303@rodperson.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Ruslan Makhmatkhanov , FreeBSD Ports List X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Jun 2013 19:07:59 -0000 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