Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Sep 2013 15:42:26 +0000
From:      Roelof Wobben <rwobben@hotmail.com>
To:        "freebsd-gnome@freebsd.org" <freebsd-gnome@freebsd.org>
Subject:   RE: .pc files
Message-ID:  <DUB121-W7A1366757B85F47ECA2A1AE260@phx.gbl>
In-Reply-To: <52371AB4.6020101@gmail.com>
References:  <DUB121-W24F1D5F2ABE75066CEEBCBAE260@phx.gbl>, <52371818.2070009@gmail.com> <DUB121-W31449875F5875C6CA4F30DAE260@phx.gbl>,<52371AB4.6020101@gmail.com>

index | next in thread | previous in thread | raw e-mail


Hello, 

Is it USES = pathfix or USES+=pathfix. 
Both Makefile  contains the first and still one cannot find the other.

Here Makefile 1: 

# Created by: Gustau Perez i Querol <gustau.perez@gmail.com>
# $FreeBSD$

PORTNAME=       muffin
PORTVERSION=    1.8.2
CATEGORIES=     x11-wm gnome
DIST_SUBDIR=    gnome3

MAINTAINER=     gustau.perez@gmail.com
COMMENT=        Compositing window manager forked from Mutter for use with Cinnamon

BUILD_DEPENDS=
LIB_DEPENDS=
RUN_DEPENDS=

USE_GITHUB=     yes
GH_ACCOUNT=     linuxmint
GH_COMMIT=      c13a698
GH_TAGNAME=     ${GH_COMMIT}

USE_XORG=       x11 xext xrandr xcomposite xcursor xinerama ice sm
USE_PYTHON=     2.5+
USE_GETTEXT=    yes
USE_GMAKE=      yes
USE_AUTOTOOLS=  libtool autoconf automake
USES=           pathfix
USE_GNOME=      gnomehier gnomeprefix intlhack gtk30 gconf2
USE_LDCONFIG=   yes
CPPFLAGS+=      -I${LOCALBASE}/include
LDFLAGS+=       -L${LOCALBASE}/lib
CONFIGURE_ENV=  LIBS="-lexecinfo"
CONFIGURE_ARGS= --enable-compile-warnings=maximum
GLIB_SCHEMAS=   org.cinnamon.muffin.gschema.xml

MAN1=           muffin-message.1 muffin-theme-viewer.1 muffin-window-demo.1 \
                muffin.1

pre-configure:
                @cd ${WRKSRC} && ${SH} autogen.sh

And here the other : 

# Created by: Gustau Perez i Querol <gustau.perez@gmail.com>
# $FreeBSD$

PORTNAME=       cinnamon-desktop
PORTVERSION=    1.0.1
CATEGORIES=     x11
DIST_SUBDIR=    x11

MAINTAINER=     gustau.perez@gmail.com
COMMENT=        cinnamon-desktop contains the libcinnamon-desktop library, the cinnamon-about$

BUILD_DEPENDS=
LIB_DEPENDS=
RUN_DEPENDS=

USE_GITHUB=     yes
GH_ACCOUNT=     linuxmint
GH_COMMIT=      37ca83b
GH_TAGNAME=     ${GH_COMMIT}

USE_XORG=       x11 xext xrandr xcomposite xcursor xinerama ice sm
USE_PYTHON=     2.5+
USE_GETTEXT=    yes
USE_GMAKE=      yes
USE_AUTOTOOLS=  libtool autoconf automake
USES=           pathfix
USE_GNOME=      gnomehier gnomeprefix intlhack gtk30 gconf2
USE_LDCONFIG=   yes
CPPFLAGS+=      -I${LOCALBASE}/include
LDFLAGS+=       -L${LOCALBASE}/lib
CONFIGURE_ARGS= --enable-compile-warnings=maximum

MAN1=

pre-configure:
                @cd ${WRKSRC} && ${SH} autogen.sh

.include <bsd.port.mk>


And still if I do make on muffin I see this error message :


Package cinnamon-desktop was not found in the pkg-config search path.
Perhaps you should add the directory containing `cinnamon-desktop.pc'
to the PKG_CONFIG_PATH environment variable
Package 'cinnamon-desktop', required by 'world', not found
Package 'clutter-1.0', required by 'world', not found
Package 'cogl-1.0', required by 'world', not found
Package 'gl', required by 'world', not found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables MUFFIN_CFLAGS
and MUFFIN_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.


Roelof



> Date: Mon, 16 Sep 2013 16:50:28 +0200
> From: gustau.perez@gmail.com
> To: rwobben@hotmail.com
> CC: freebsd-gnome@freebsd.org
> Subject: Re: .pc files
> 
> Al 16/09/2013 16:46, En/na Roelof Wobben ha escrit:
> > Thanks, so if I understand you right I have to use USES+=pathfix in the Makefile.
> >
> > Roelof
> 
>     That would save you from a lot of path fixing. Most of the time it 
> would be enough.
> 
>     Gus



 		 	   		  

help

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