From owner-freebsd-gnome@FreeBSD.ORG Tue Feb 28 06:10:09 2012 Return-Path: Delivered-To: gnome@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2B98F106564A for ; Tue, 28 Feb 2012 06:10:09 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id F15738FC15 for ; Tue, 28 Feb 2012 06:10:08 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q1S6A8Hh060620 for ; Tue, 28 Feb 2012 06:10:08 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q1S6A8ZI060614; Tue, 28 Feb 2012 06:10:08 GMT (envelope-from gnats) Date: Tue, 28 Feb 2012 06:10:08 GMT Message-Id: <201202280610.q1S6A8ZI060614@freefall.freebsd.org> To: gnome@FreeBSD.org From: "Ildar Hizbulin" Cc: Subject: Re: ports/165358: sysutils/policykit do not build while installed devel/libinotify X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Ildar Hizbulin List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Feb 2012 06:10:09 -0000 The following reply was made to PR ports/165358; it has been noted by GNATS. From: "Ildar Hizbulin" To: bug-followup@freebsd.org Cc: Subject: Re: ports/165358: sysutils/policykit do not build while installed devel/libinotify Date: Tue, 28 Feb 2012 10:06:49 +0400 ------------9QExitHXl08ubBlcoaPk0C Content-Type: text/plain; charset=utf-8; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit with attach -- e-mail: hizel@vyborg.ru jid: hizel@vyborg.ru ------------9QExitHXl08ubBlcoaPk0C Content-Disposition: attachment; filename=patch.txt Content-Type: text/plain; name=patch.txt Content-Transfer-Encoding: 7bit diff -ruN sysutils/policykit.orig/Makefile sysutils/policykit/Makefile --- sysutils/policykit.orig/Makefile 2011-11-09 19:25:44.000000000 +0400 +++ sysutils/policykit/Makefile 2012-02-27 16:21:34.000000000 +0400 @@ -8,7 +8,7 @@ PORTNAME= policykit PORTVERSION= 0.9 -PORTREVISION= 6 +PORTREVISION= 7 CATEGORIES= sysutils gnome MASTER_SITES= http://hal.freedesktop.org/releases/ DISTNAME= PolicyKit-${PORTVERSION} @@ -22,6 +22,8 @@ USERS= polkit GROUPS= polkit +USE_AUTOTOOLS= aclocal autoheader automake autoconf libtool +ACLOCAL_ARGS= -I ${LOCALBASE}/share/aclocal USE_GNOME= gnomehack glib20 intlhack USE_GMAKE= yes GNU_CONFIGURE= yes diff -ruN sysutils/policykit.orig/files/patch-configure.in sysutils/policykit/files/patch-configure.in --- sysutils/policykit.orig/files/patch-configure.in 1970-01-01 03:00:00.000000000 +0300 +++ sysutils/policykit/files/patch-configure.in 2012-02-27 16:21:34.000000000 +0400 @@ -0,0 +1,37 @@ +--- configure.in.orig 2008-06-30 23:40:59.000000000 +0400 ++++ configure.in 2012-02-27 16:15:17.000000000 +0400 +@@ -527,16 +527,6 @@ + ;; + esac + +-have_inotify=no +-AC_CHECK_HEADERS([linux/inotify.h], [have_inotify=yes]) +-AC_CHECK_HEADERS([sys/inotify.h], [have_inotify=yes]) +- +-AM_CONDITIONAL(HAVE_INOTIFY, test "x$have_inotify" = "xyes") +- +-if test "x$have_inotify" = "xyes" ; then +- AC_DEFINE([HAVE_INOTIFY], 1, [Enable Linux inotify() usage]) +-fi +- + have_kqueue=yes + AC_CHECK_FUNCS([kqueue],,have_kqueue=no) + +@@ -546,6 +536,17 @@ + AC_DEFINE([HAVE_KQUEUE], 1, [Enable BSD kqueue() usage]) + fi + ++have_inotify=no ++if test "x$have_kqueue" != "xyes" ; then ++ AC_CHECK_HEADERS([linux/inotify.h], [have_inotify=yes]) ++ AC_CHECK_HEADERS([sys/inotify.h], [have_inotify=yes]) ++fi ++AM_CONDITIONAL(HAVE_INOTIFY, test "x$have_inotify" = "xyes") ++if test "x$have_inotify" = "xyes" ; then ++ AC_DEFINE([HAVE_INOTIFY], 1, [Enable Linux inotify() usage]) ++fi ++ ++ + # ******************** + # Internationalisation + # ******************** ------------9QExitHXl08ubBlcoaPk0C--