pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/wm/compiz Link the main program against libpthread.
details: https://anonhg.NetBSD.org/pkgsrc/rev/fd9f2d9af806
branches: trunk
changeset: 530954:fd9f2d9af806
user: drochner <drochner%pkgsrc.org@localhost>
date: Mon Jul 16 09:39:20 2007 +0000
description:
Link the main program against libpthread.
It does not use threads, but some dynamically loaded plugins link
against libraries which are linked against libpthread (for no good
technical reason either, but I don't like to maintain patches for all).
diffstat:
wm/compiz/Makefile | 8 ++++++--
wm/compiz/distinfo | 3 ++-
wm/compiz/patches/patch-aa | 13 +++++++++++++
3 files changed, 21 insertions(+), 3 deletions(-)
diffs (53 lines):
diff -r bab93782a1ff -r fd9f2d9af806 wm/compiz/Makefile
--- a/wm/compiz/Makefile Mon Jul 16 08:56:09 2007 +0000
+++ b/wm/compiz/Makefile Mon Jul 16 09:39:20 2007 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.4 2007/06/05 05:37:37 wiz Exp $
+# $NetBSD: Makefile,v 1.5 2007/07/16 09:39:20 drochner Exp $
#
DISTNAME= compiz-0.4.0
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= wm x11
MASTER_SITES= http://xorg.freedesktop.org/releases/individual/app/
EXTRACT_SUFX= .tar.bz2
@@ -52,6 +52,10 @@
PLIST_SUBST+= KDE="@comment "
.endif
+# While we don't use threads, we link against libpthread because
+# some plugins do it.
+.include "../../mk/pthread.buildlink3.mk"
+
.include "../../devel/GConf2/schemas.mk"
.include "../../sysutils/dbus/buildlink3.mk"
.include "../../sysutils/dbus-glib/buildlink3.mk"
diff -r bab93782a1ff -r fd9f2d9af806 wm/compiz/distinfo
--- a/wm/compiz/distinfo Mon Jul 16 08:56:09 2007 +0000
+++ b/wm/compiz/distinfo Mon Jul 16 09:39:20 2007 +0000
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.2 2007/04/17 21:54:35 drochner Exp $
+$NetBSD: distinfo,v 1.3 2007/07/16 09:39:20 drochner Exp $
SHA1 (compiz-0.4.0.tar.bz2) = b2eaec6bcb0513dcd7d8c62c45aa84b218c9e7be
RMD160 (compiz-0.4.0.tar.bz2) = dbfd9874b28bac61954887e33b4cba126acca141
Size (compiz-0.4.0.tar.bz2) = 900099 bytes
+SHA1 (patch-aa) = 229e308c58cdf1ba916de218475224420324dcf4
diff -r bab93782a1ff -r fd9f2d9af806 wm/compiz/patches/patch-aa
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/wm/compiz/patches/patch-aa Mon Jul 16 09:39:20 2007 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.1 2007/07/16 09:39:20 drochner Exp $
+
+--- src/Makefile.in.orig 2007-07-15 10:23:02.000000000 +0200
++++ src/Makefile.in
+@@ -269,7 +269,7 @@ INCLUDES = \
+ -DPLUGINDIR=\"$(plugindir)\" \
+ -DIMAGEDIR=\"$(imagedir)\"
+
+-compiz_LDADD = @COMPIZ_LIBS@ @GL_LIBS@ -lm
++compiz_LDADD = @COMPIZ_LIBS@ @GL_LIBS@ -lm ${PTHREAD_LDFLAGS} ${PTHREAD_LIBS}
+ compiz_LDFLAGS = -export-dynamic
+ compiz_SOURCES = \
+ main.c \
Home |
Main Index |
Thread Index |
Old Index