View | Details | Raw Unified | Return to bug 230917
Collapse All | Expand All

(-)Makefile (-6 / +8 lines)
Lines 3-8 Link Here
3
3
4
PORTNAME=	libcompizconfig
4
PORTNAME=	libcompizconfig
5
PORTVERSION=	0.8.8
5
PORTVERSION=	0.8.8
6
PORTREVISION=	1
6
CATEGORIES=	x11-wm
7
CATEGORIES=	x11-wm
7
MASTER_SITES=	http://releases.compiz.org/${PORTVERSION}/
8
MASTER_SITES=	http://releases.compiz.org/${PORTVERSION}/
8
9
Lines 9-29 Link Here
9
MAINTAINER=	freebsd-ports@dan.me.uk
10
MAINTAINER=	freebsd-ports@dan.me.uk
10
COMMENT=	Alternative configuration system for Compiz
11
COMMENT=	Alternative configuration system for Compiz
11
12
12
LICENSE=	GPLv2
13
LICENSE=	GPLv2+
14
LICENSE_FILE=	${WRKSRC}/COPYING
13
15
14
BUILD_DEPENDS=	${LOCALBASE}/libdata/pkgconfig/compiz.pc:x11-wm/compiz
16
BUILD_DEPENDS=	${LOCALBASE}/libdata/pkgconfig/compiz.pc:x11-wm/compiz
15
17
16
GNU_CONFIGURE=	yes
18
GNU_CONFIGURE=	yes
19
USES=		gmake libtool:keepla pathfix pkgconfig tar:bzip2
20
USE_GNOME=	intltool libxml2
17
USE_LDCONFIG=	yes
21
USE_LDCONFIG=	yes
22
USE_XORG=	x11
18
23
19
USES=		gettext gmake libtool:keepla pathfix pkgconfig tar:bzip2
20
USE_GNOME=	intltool libxml2
21
22
CPPFLAGS+=	-I${LOCALBASE}/include
24
CPPFLAGS+=	-I${LOCALBASE}/include
23
LDFLAGS+=	-L${LOCALBASE}/lib -lpthread
25
LDFLAGS+=	-L${LOCALBASE}/lib -lpthread
24
26
25
OPTIONS_DEFINE=	INOTIFY
27
OPTIONS_DEFINE=		INOTIFY NLS
26
OPTIONS_DEFAULT=	INOTIFY
28
OPTIONS_DEFAULT=	INOTIFY NLS
27
INOTIFY_DESC?=	Enable inotify support
29
INOTIFY_DESC?=	Enable inotify support
28
30
29
INOTIFY_LIB_DEPENDS=	libinotify.so:devel/libinotify
31
INOTIFY_LIB_DEPENDS=	libinotify.so:devel/libinotify
(-)files/patch-src-main.c (-4 / +13 lines)
Lines 1-6 Link Here
1
--- src/main.c.orig	2008-04-03 12:04:50.000000000 -0400
1
--- src/main.c.orig	2011-04-21 10:03:54 UTC
2
+++ src/main.c	2008-05-29 17:02:49.000000000 -0400
2
+++ src/main.c
3
@@ -549,7 +549,8 @@
3
@@ -27,7 +27,7 @@
4
 #include <stdlib.h>
5
 #include <stdio.h>
6
 #include <string.h>
7
-#include <malloc.h>
8
+#include <stdlib.h>
9
 #include <libintl.h>
10
 #include <dlfcn.h>
11
 #include <dirent.h>
12
@@ -598,7 +598,8 @@ openBackend (char *backend)
4
 	asprintf (&dlname, "%s/.compizconfig/backends/lib%s.so", 
13
 	asprintf (&dlname, "%s/.compizconfig/backends/lib%s.so", 
5
 		  home, backend);
14
 		  home, backend);
6
 	dlerror ();
15
 	dlerror ();
Lines 10-16 Link Here
10
 	err = dlerror ();
19
 	err = dlerror ();
11
     }
20
     }
12
 
21
 
13
@@ -560,7 +561,8 @@
22
@@ -609,7 +610,8 @@ openBackend (char *backend)
14
         }
23
         }
15
 	asprintf (&dlname, "%s/compizconfig/backends/lib%s.so", 
24
 	asprintf (&dlname, "%s/compizconfig/backends/lib%s.so", 
16
 		  LIBDIR, backend);
25
 		  LIBDIR, backend);

Return to bug 230917