Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 2 Oct 2013 08:10:04 +0000
From:      Roelof Wobben <rwobben@hotmail.com>
To:        "freebsd-gnome@freebsd.org" <freebsd-gnome@freebsd.org>
Subject:   polkit problem
Message-ID:  <DUB121-W52D1A231B127AD15ECB21EAE160@phx.gbl>

next in thread | raw e-mail | index | archive | help
Hello=2C=20

Im trying to update polkit to 0.108 to look if it solve my problem with Cin=
namon.
So I have this :=20

# Created by: Koop Mast<kwm@FreeBSD.org>
# $FreeBSD$
#   $MCom: ports/trunk/sysutils/polkit/Makefile 18610 2013-06-30 16:33:05Z =
marcus $

PORTNAME=3D    polkit
PORTVERSION=3D    0.108
PORTREVISION=3D    2
CATEGORIES=3D    sysutils gnome
MASTER_SITES=3D    http://www.freedesktop.org/software/polkit/releases/

MAINTAINER=3D    gnome@FreeBSD.org
COMMENT=3D    Framework for controlling access to system-wide component

BUILD_DEPENDS=3D    mozjs185:${PORTSDOR}/dev/lang/spidermonkey185
LIB_DEPENDS=3D    libexpat.so:${PORTSDIR}/textproc/expat2
RUN_DEPENDS=3D    dbus-launch:${PORTSDIR}/devel/dbus

NO_STAGE=3D    yes
USE_GNOME=3D    glib20 intlhack gnomehier introspection
USES=3D        gettext gmake pathfix pkgconfig
GNU_CONFIGURE=3D    yes
USE_LDCONFIG=3D    yes
CONFIGURE_ARGS=3D    --disable-gtk-doc \
        --with-authfw=3Dpam \
        --with-pam-include=3Dsystem \
        --with-os-type=3Dfreebsd \
        --disable-systemd \
        --enable-introspection \
        --localstatedir=3D/var
CONFIGURE_ENV=3D    GTKDOC=3D"false"
CPPFLAGS+=3D    -I${LOCALBASE}/include
LDFLAGS+=3D    -L${LOCALBASE}/lib

OPTIONS_DEFINE=3D    MANPAGES

.include <bsd.port.options.mk>

.if ${PORT_OPTIONS:MMANPAGES}
BUILD_DEPENDS+=3D    ${LOCALBASE}/share/sgml/docbook/4.1/dtd/catalog:${PORT=
SDIR}/textproc/docbook-410 \
            xsltproc:${PORTSDIR}/textproc/libxslt \
        ${LOCALBASE}/share/xsl/docbook/manpages/docbook.xsl:${PORTSDIR}/tex=
tproc/docbook-xsl

MAN1=3D        pkaction.1 pkcheck.1 pkexec.1 pkttyagent.1
MAN8=3D        pklocalauthority.8 polkit.8 polkitd.8
.else
CONFIGURE_ARGS+=3D--disable-man-pages
.endif

post-patch:
    @${REINPLACE_CMD} -e 's|/usr/bin/|${PREFIX}/bin/|g' \
        ${WRKSRC}/docs/man/pkexec.xml \
        ${WRKSRC}/src/examples/org.freedesktop.policykit.examples.pkexec.po=
licy.in

post-install:
    ${MKDIR} ${PREFIX}/etc/dbus-1/system.d/
    if [ ! -f ${PREFIX}/etc/dbus-1/system.d/org.freedesktop.PolicyKit1.conf=
 ]=3B then \
        ${INSTALL_DATA} ${WRKSRC}/data/org.freedesktop.PolicyKit1.conf \
            ${PREFIX}/etc/dbus-1/system.d/org.freedesktop.PolicyKit1.conf =
=3B \
    fi
    ${INSTALL_DATA} ${WRKSRC}/data/org.freedesktop.PolicyKit1.conf \
        ${PREFIX}/etc/dbus-1/system.d/org.freedesktop.PolicyKit1.conf.dist
.if !defined(PACKAGE_BUILDING)
    @${SETENV} PKG_PREFIX=3D${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-I=
NSTALL
.endif

.include <bsd.port.mk>

But still I see a mozjs185 not found error message.
Did I do something wrong ?

Roelof

 		 	   		  =



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