.pc files

Roelof Wobben rwobben at hotmail.com
Mon Sep 16 15:42:34 UTC 2013


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 at gmail.com>
# $FreeBSD$

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

MAINTAINER=     gustau.perez at 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 at gmail.com>
# $FreeBSD$

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

MAINTAINER=     gustau.perez at 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 at gmail.com
> To: rwobben at hotmail.com
> CC: freebsd-gnome at 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



 		 	   		  


More information about the freebsd-gnome mailing list