Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 May 2006 01:45:14 +0100
From:      Shaun Amott <shaun@inerd.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/97865: x11-themes/gtk-smooth-engine: Fix build
Message-ID:  <1148517914.3355@charon.picobyte.net>
Resent-Message-ID: <200605250050.k4P0oLZj098679@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         97865
>Category:       ports
>Synopsis:       x11-themes/gtk-smooth-engine: Fix build
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu May 25 00:50:21 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Shaun Amott
>Release:        FreeBSD 6.1-STABLE i386
>Organization:
>Environment:

>Description:

- Fix build

>How-To-Repeat:

>Fix:

--- gtk-smooth-engine.diff begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/x11-themes/gtk-smooth-engine/Makefile,v
retrieving revision 1.12
diff -u -r1.12 Makefile
--- Makefile	21 May 2006 21:34:38 -0000	1.12
+++ Makefile	25 May 2006 00:42:51 -0000
@@ -15,8 +15,6 @@
 MAINTAINER=	amistry@am-productions.biz
 COMMENT=	Flexible GTK Theme Engine
 
-BROKEN=		Does not compile
-
 USE_X_PREFIX=	yes
 GNU_CONFIGURE=	yes
 USE_GNOME=	gnometarget
@@ -66,5 +64,13 @@
 .if !defined(WITH_GTK12)
 	@${ECHO_MSG} "To enable gtk12 support define WITH_GTK12."
 .endif
+
+post-configure:
+	@${REINPLACE_CMD} -e 's#-DG_DISABLE_DEPRECATED##g'		\
+	                  -e 's#-DGTK_DISABLE_DEPRECATED##g'		\
+	                  -e 's#-DGDK_PIXBUF_DISABLE_DEPRECATED##g'	\
+	                  -e 's#-DGDK_DISABLE_DEPRECATED##g'		\
+	                  ${WRKSRC}/gtk*/Makefile* \
+	                  ${WRKSRC}/Makefile*
 
 .include <bsd.port.post.mk>
--- gtk-smooth-engine.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1148517914.3355>