--- Makefile (révision 477874) +++ Makefile (copie de travail) @@ -3,6 +3,7 @@ PORTNAME= libcompizconfig PORTVERSION= 0.8.8 +PORTREVISION= 1 CATEGORIES= x11-wm MASTER_SITES= http://releases.compiz.org/${PORTVERSION}/ @@ -9,21 +10,22 @@ MAINTAINER= freebsd-ports@dan.me.uk COMMENT= Alternative configuration system for Compiz -LICENSE= GPLv2 +LICENSE= GPLv2+ +LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/compiz.pc:x11-wm/compiz GNU_CONFIGURE= yes +USES= gmake libtool:keepla pathfix pkgconfig tar:bzip2 +USE_GNOME= intltool libxml2 USE_LDCONFIG= yes +USE_XORG= x11 -USES= gettext gmake libtool:keepla pathfix pkgconfig tar:bzip2 -USE_GNOME= intltool libxml2 - CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib -lpthread -OPTIONS_DEFINE= INOTIFY -OPTIONS_DEFAULT= INOTIFY +OPTIONS_DEFINE= INOTIFY NLS +OPTIONS_DEFAULT= INOTIFY NLS INOTIFY_DESC?= Enable inotify support INOTIFY_LIB_DEPENDS= libinotify.so:devel/libinotify --- files/patch-src-main.c (révision 477874) +++ files/patch-src-main.c (copie de travail) @@ -1,6 +1,15 @@ ---- src/main.c.orig 2008-04-03 12:04:50.000000000 -0400 -+++ src/main.c 2008-05-29 17:02:49.000000000 -0400 -@@ -549,7 +549,8 @@ +--- src/main.c.orig 2011-04-21 10:03:54 UTC ++++ src/main.c +@@ -27,7 +27,7 @@ + #include + #include + #include +-#include ++#include + #include + #include + #include +@@ -598,7 +598,8 @@ openBackend (char *backend) asprintf (&dlname, "%s/.compizconfig/backends/lib%s.so", home, backend); dlerror (); @@ -10,7 +19,7 @@ err = dlerror (); } -@@ -560,7 +561,8 @@ +@@ -609,7 +610,8 @@ openBackend (char *backend) } asprintf (&dlname, "%s/compizconfig/backends/lib%s.so", LIBDIR, backend);