pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/gtk-gnutella Make this build with GTK+ version 2.6...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ddcf4338ef21
branches:  trunk
changeset: 486380:ddcf4338ef21
user:      tron <tron%pkgsrc.org@localhost>
date:      Mon Dec 27 20:07:10 2004 +0000

description:
Make this build with GTK+ version 2.6.0 or newer.

diffstat:

 net/gtk-gnutella/Makefile |  11 ++++++++++-
 1 files changed, 10 insertions(+), 1 deletions(-)

diffs (25 lines):

diff -r 08676103920e -r ddcf4338ef21 net/gtk-gnutella/Makefile
--- a/net/gtk-gnutella/Makefile Mon Dec 27 18:21:32 2004 +0000
+++ b/net/gtk-gnutella/Makefile Mon Dec 27 20:07:10 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.35 2004/12/03 13:12:05 adam Exp $
+# $NetBSD: Makefile,v 1.36 2004/12/27 20:07:10 tron Exp $
 
 DISTNAME=      gtk-gnutella-0.95
 CATEGORIES=    net
@@ -21,6 +21,15 @@
                        -D locale="${PREFIX}/${PKGLOCALEDIR}/locale" \
                        -D optimize="${COPTS}" -D gtkversion=2 -D yacc="yacc"
 
+.include "../../mk/bsd.prefs.mk"
+
+.if exists(${X11PREFIX}/include/gtk-2.0/gtk/gtkcellrendererprogress.h)
+post-extract:
+       cd ${WRKSRC}/src/ui/gtk/gtk2 &&                 \
+       ${RM} pbarcellrenderer.c pbarcellrenderer.h &&  \
+       ${TOUCH} pbarcellrenderer.c pbarcellrenderer.h
+.endif
+
 .include "../../textproc/libxml2/buildlink3.mk"
 .include "../../x11/gtk2/buildlink3.mk"
 



Home | Main Index | Thread Index | Old Index