cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include/libgksu -I/usr/local/include/startup-notification-1.0 -I/usr/local/include/gnome-keyring-1 -I/usr/local/include/gconf/2 -I/usr/local/include/orbit-2.0 -DORBIT2=1 -I/usr/local/include/nautilus -I/usr/local/include/gtk-2.0 -I/usr/local/include/gio-unix-2.0/ -I/usr/local/include/atk-1.0 -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/libdrm -D_THREAD_SAFE -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/libpng15 -I/usr/local/include/pango-1.0 -pthread -I/usr/local/include/glib-2.0 -I/usr/local/include/freetype2 -I/usr/local/include -DLOCALEDIR=\"/usr/local/share/locale\" -DDATA_DIR=\"/usr/local/share\" -DPREFIX=\"/usr/local\" -I/usr/local/include -g -O2 -Wall -O2 -pipe -fno-strict-aliasing -MT libnautilus-gksu.lo -MD -MP -MF .deps/libnautilus-gksu.Tpo -c libnautilus-gksu.c -fPIC -DPIC -o .libs/libnautilus-gksu.o In file included from libnautilus-gksu.c:8: /usr/local/include/glib-2.0/glib/gkeyfile.h:24:2: error: #error "Only <glib.h> can be included directly." In file included from /usr/local/include/glib-2.0/glib/gkeyfile.h:30, from libnautilus-gksu.c:8: /usr/local/include/glib-2.0/glib/gerror.h:22:2: error: #error "Only <glib.h> can be included directly." In file included from /usr/local/include/glib-2.0/glib/gerror.h:30, from /usr/local/include/glib-2.0/glib/gkeyfile.h:30, from libnautilus-gksu.c:8: /usr/local/include/glib-2.0/glib/gquark.h:28:2: error: #error "Only <glib.h> can be included directly." In file included from /usr/local/include/glib-2.0/glib/gquark.h:34, from /usr/local/include/glib-2.0/glib/gerror.h:30, from /usr/local/include/glib-2.0/glib/gkeyfile.h:30, from libnautilus-gksu.c:8: /usr/local/include/glib-2.0/glib/gtypes.h:28:2: error: #error "Only <glib.h> can be included directly." In file included from /usr/local/include/glib-2.0/glibconfig.h:9, from /usr/local/include/glib-2.0/glib/gtypes.h:34, from /usr/local/include/glib-2.0/glib/gquark.h:34, from /usr/local/include/glib-2.0/glib/gerror.h:30, from /usr/local/include/glib-2.0/glib/gkeyfile.h:30, from libnautilus-gksu.c:8: /usr/local/include/glib-2.0/glib/gmacros.h:32:2: error: #error "Only <glib.h> can be included directly." In file included from /usr/local/include/glib-2.0/glib/gtypes.h:35, from /usr/local/include/glib-2.0/glib/gquark.h:34, from /usr/local/include/glib-2.0/glib/gerror.h:30, from /usr/local/include/glib-2.0/glib/gkeyfile.h:30, from libnautilus-gksu.c:8: /usr/local/include/glib-2.0/glib/gmacros.h:32:2: error: #error "Only <glib.h> can be included directly." In file included from /usr/local/include/glib-2.0/glib/gtypes.h:36, from /usr/local/include/glib-2.0/glib/gquark.h:34, from /usr/local/include/glib-2.0/glib/gerror.h:30, from /usr/local/include/glib-2.0/glib/gkeyfile.h:30, from libnautilus-gksu.c:8: /usr/local/include/glib-2.0/glib/gversionmacros.h:28:2: error: #error "Only <glib.h> can be included directly." distcc[41156] ERROR: compile libnautilus-gksu.c on 78.46.220.81/10,lzo failed distcc[41156] (dcc_build_somewhere) Warning: remote compilation of 'libnautilus-gksu.c' failed, retrying locally distcc[41156] Warning: failed to distribute libnautilus-gksu.c to 78.46.220.81/10,lzo, running locally instead In file included from libnautilus-gksu.c:8: /usr/local/include/glib-2.0/glib/gkeyfile.h:24:2: error: #error "Only <glib.h> can be included directly." In file included from /usr/local/include/glib-2.0/glib/gkeyfile.h:30, from libnautilus-gksu.c:8: /usr/local/include/glib-2.0/glib/gerror.h:22:2: error: #error "Only <glib.h> can be included directly." In file included from /usr/local/include/glib-2.0/glib/gerror.h:30, from /usr/local/include/glib-2.0/glib/gkeyfile.h:30, from libnautilus-gksu.c:8: /usr/local/include/glib-2.0/glib/gquark.h:28:2: error: #error "Only <glib.h> can be included directly." In file included from /usr/local/include/glib-2.0/glib/gquark.h:34, from /usr/local/include/glib-2.0/glib/gerror.h:30, from /usr/local/include/glib-2.0/glib/gkeyfile.h:30, from libnautilus-gksu.c:8: /usr/local/include/glib-2.0/glib/gtypes.h:28:2: error: #error "Only <glib.h> can be included directly." In file included from /usr/local/include/glib-2.0/glibconfig.h:9, from /usr/local/include/glib-2.0/glib/gtypes.h:34, from /usr/local/include/glib-2.0/glib/gquark.h:34, from /usr/local/include/glib-2.0/glib/gerror.h:30, from /usr/local/include/glib-2.0/glib/gkeyfile.h:30, from libnautilus-gksu.c:8: /usr/local/include/glib-2.0/glib/gmacros.h:32:2: error: #error "Only <glib.h> can be included directly." In file included from /usr/local/include/glib-2.0/glib/gtypes.h:35, from /usr/local/include/glib-2.0/glib/gquark.h:34, from /usr/local/include/glib-2.0/glib/gerror.h:30, from /usr/local/include/glib-2.0/glib/gkeyfile.h:30, from libnautilus-gksu.c:8: /usr/local/include/glib-2.0/glib/gmacros.h:32:2: error: #error "Only <glib.h> can be included directly." In file included from /usr/local/include/glib-2.0/glib/gtypes.h:36, from /usr/local/include/glib-2.0/glib/gquark.h:34, from /usr/local/include/glib-2.0/glib/gerror.h:30, from /usr/local/include/glib-2.0/glib/gkeyfile.h:30, from libnautilus-gksu.c:8: /usr/local/include/glib-2.0/glib/gversionmacros.h:28:2: error: #error "Only <glib.h> can be included directly." distcc[41156] ERROR: compile libnautilus-gksu.c on localhost failed gmake[2]: *** [libnautilus-gksu.lo] Ошибка 1 gmake[2]: Выход из каталога `/usr/ports_build/usr/ports/sysutils/gksu/work/gksu-2.0.2/nautilus-gksu' gmake[1]: *** [all-recursive] Ошибка 1 gmake[1]: Выход из каталога `/usr/ports_build/usr/ports/sysutils/gksu/work/gksu-2.0.2' gmake: *** [all] Ошибка 2 ===> Compilation failed unexpectedly. You have chosen to use multiple make jobs (parallelization) for all ports. This port was not tested for this setting. Please remove FORCE_MAKE_JOBS and retry the build before reporting the failure to the maintainer. *** [do-build] Error code 1 Stop in /usr/ports/sysutils/gksu. Fix: Patch attached with submission follows:
Responsible Changed From-To: freebsd-ports-bugs->bsam Over to maintainer (via the GNATS Auto Assign Tool)
Author: bsam Date: Mon Mar 25 19:28:15 2013 New Revision: 315243 URL: http://svnweb.freebsd.org/changeset/ports/315243 Log: . trim makefile header to two line style; . remove shlib ABI versions from LIB_DEPENDS; . USE_GNOME=gnomehack -> USES=pathfix; . USE_GNOME=pkgconfig -> USE_PKGCONFIG=build; . add USE_LDCONFIG=yes (a library is installed); . utilise USE_GNOME=desktopfileutils; . fix build after glib2 update; [1] . sort pkg-plist. PR: ports/176863 [1] Reported by: Ivan Klymenko <fidaj@ukr.net> [1] Modified: head/sysutils/gksu/Makefile head/sysutils/gksu/pkg-plist Modified: head/sysutils/gksu/Makefile ============================================================================== --- head/sysutils/gksu/Makefile Mon Mar 25 19:14:43 2013 (r315242) +++ head/sysutils/gksu/Makefile Mon Mar 25 19:28:15 2013 (r315243) @@ -1,13 +1,9 @@ -# New ports collection makefile for: gksu -# Date created: 2 October 2004 -# Whom: Jesse van den Kieboom <troplosti@orcaweb.cjb.net> -# +# Created by: Jesse van den Kieboom <troplosti@orcaweb.cjb.net> # $FreeBSD$ -# PORTNAME= gksu PORTVERSION= 2.0.2 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= sysutils MASTER_SITES= http://people.debian.org/~kov/gksu/ @@ -15,15 +11,25 @@ MAINTAINER= bsam@FreeBSD.org COMMENT= Graphical frontend to su LIB_DEPENDS= gksu2:${PORTSDIR}/sysutils/libgksu \ - nautilus-extension.1:${PORTSDIR}/x11-fm/nautilus \ - gnome-keyring.0:${PORTSDIR}/security/gnome-keyring + nautilus-extension:${PORTSDIR}/x11-fm/nautilus \ + gnome-keyring:${PORTSDIR}/security/gnome-keyring -USE_GNOME= gtk20 pkgconfig gnomeprefix gnomehack gconf2 intlhack +USES= pathfix +USE_PKGCONFIG= build +USE_GNOME= desktopfileutils gconf2 gnomeprefix gtk20 intlhack GNU_CONFIGURE= yes USE_GMAKE= yes +USE_LDCONFIG= yes CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib MAN1= gksu.1 +post-patch: + @${REINPLACE_CMD} -e 's|glib/gkeyfile.h|glib.h|g' \ + ${WRKSRC}/nautilus-gksu/libnautilus-gksu.c + +post-install: + -update-desktop-database + .include <bsd.port.mk> Modified: head/sysutils/gksu/pkg-plist ============================================================================== --- head/sysutils/gksu/pkg-plist Mon Mar 25 19:14:43 2013 (r315242) +++ head/sysutils/gksu/pkg-plist Mon Mar 25 19:28:15 2013 (r315243) @@ -3,10 +3,12 @@ bin/gksudo lib/nautilus/extensions-2.0/libnautilus-gksu.la lib/nautilus/extensions-2.0/libnautilus-gksu.so lib/nautilus/extensions-2.0/libnautilus-gksu.a +man/man1/gksudo.1 share/applications/gksu.desktop share/pixmaps/gksu-icon.png share/pixmaps/gksu-root-terminal.png share/gksu/gksu-migrate-conf.sh -man/man1/gksudo.1 @dirrm share/gksu @dirrmtry share/applications +@exec %%LOCALBASE%%/bin/update-desktop-database > /dev/null || /usr/bin/true +@unexec %%LOCALBASE%%/bin/update-desktop-database > /dev/null || /usr/bin/true _______________________________________________ svn-ports-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-ports-all To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
State Changed From-To: open->closed The port is fixed with an other patch. Thanks for reporting!