From 2537eab5a799b9c300881e6388dd357a94a11f85 Mon Sep 17 00:00:00 2001 From: tron Date: Mon, 27 Dec 2004 20:07:10 +0000 Subject: Make this build with GTK+ version 2.6.0 or newer. --- net/gtk-gnutella/Makefile | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'net') diff --git a/net/gtk-gnutella/Makefile b/net/gtk-gnutella/Makefile index 1dd7ebf5ef4..ea1a43636e2 100644 --- a/net/gtk-gnutella/Makefile +++ b/net/gtk-gnutella/Makefile @@ -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 @@ CONFIGURE_ARGS+= -d -e -r -s -D prefix="${PREFIX}" -D cc="${CC}" \ -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" -- cgit v1.2.3