e953a008f8
gconf_ping() will try to shutdown gconfd, but since installing pkg is done as root, there is not gconfd nor dbus that can be started when DISPLAY isn't set and an annoying warning is issued. discussed with espie@
58 lines
1.2 KiB
Makefile
58 lines
1.2 KiB
Makefile
# $OpenBSD: Makefile,v 1.73 2013/02/06 14:23:07 ajacoutot Exp $
|
|
|
|
SHARED_ONLY= Yes
|
|
|
|
COMMENT= GNOME Virtual File System
|
|
|
|
GNOME_PROJECT= gnome-vfs
|
|
GNOME_VERSION= 2.24.4
|
|
PKGNAME= gnome-vfs2-${VERSION}
|
|
|
|
REVISION= 5
|
|
|
|
SHARED_LIBS += gnomevfs-2 2400.0 # .2400.0
|
|
|
|
# GPLv2/LGPLv2
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
WANTLIB += asn1 bz2 c crypto dbus-1 dbus-glib-1 fam ffi gio-2.0
|
|
WANTLIB += glib-2.0 gmodule-2.0 gobject-2.0 gssapi gthread-2.0
|
|
WANTLIB += krb5 m pcre pthread ssl util xml2 z
|
|
|
|
EXTRACT_SUFX= .tar.bz2
|
|
|
|
MODULES= devel/gettext \
|
|
x11/gnome \
|
|
devel/gconf2
|
|
|
|
BUILD_DEPENDS= ${RUN_DEPENDS}
|
|
RUN_DEPENDS= x11/gnome/mime-data>=2.0.0
|
|
|
|
LIB_DEPENDS= archivers/bzip2 \
|
|
sysutils/gamin
|
|
|
|
MODGCONF2_SCHEMAS_DIR= gnome-vfs2
|
|
|
|
CONFIGURE_ARGS+= --disable-cdda \
|
|
--disable-avahi \
|
|
--disable-howl \
|
|
--disable-samba
|
|
MODGNOME_LDFLAGS= -pthread
|
|
CONFIGURE_ENV= ac_cv_header_sys_mount_h=yes
|
|
|
|
FAKE_FLAGS= sysconfdir=${PREFIX}/share/examples/gnome-vfs2
|
|
|
|
post-extract:
|
|
${INSTALL} -m 555 ${FILESDIR}/krb5-config ${WRKDIR}/bin
|
|
|
|
pre-configure:
|
|
${SUBST_CMD} ${WRKSRC}/libgnomevfs/xdgmime.c
|
|
|
|
post-install:
|
|
rm ${PREFIX}/lib/gnome-vfs-2.0/modules/*.{a,la}
|
|
|
|
.include <bsd.port.mk>
|