From owner-svn-ports-all@FreeBSD.ORG Sat Feb 23 16:35:52 2013 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id A289D736; Sat, 23 Feb 2013 16:35:52 +0000 (UTC) (envelope-from kwm@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id 908EF77A; Sat, 23 Feb 2013 16:35:52 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.5/8.14.5) with ESMTP id r1NGZoOr069849; Sat, 23 Feb 2013 16:35:50 GMT (envelope-from kwm@svn.freebsd.org) Received: (from kwm@localhost) by svn.freebsd.org (8.14.5/8.14.5/Submit) id r1NGZoA3069848; Sat, 23 Feb 2013 16:35:50 GMT (envelope-from kwm@svn.freebsd.org) Message-Id: <201302231635.r1NGZoA3069848@svn.freebsd.org> From: Koop Mast Date: Sat, 23 Feb 2013 16:35:50 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r312840 - head/x11-themes/gtk-engines2 X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 23 Feb 2013 16:35:52 -0000 Author: kwm Date: Sat Feb 23 16:35:50 2013 New Revision: 312840 URL: http://svnweb.freebsd.org/changeset/ports/312840 Log: Fix the build with newer glib when ANIMATION option is selected. [1] While here update Makefile header and convert to OPTIONSNG. Reported by: Gustau Perez [1] Modified: head/x11-themes/gtk-engines2/Makefile Modified: head/x11-themes/gtk-engines2/Makefile ============================================================================== --- head/x11-themes/gtk-engines2/Makefile Sat Feb 23 16:25:28 2013 (r312839) +++ head/x11-themes/gtk-engines2/Makefile Sat Feb 23 16:35:50 2013 (r312840) @@ -1,10 +1,6 @@ -# New ports collection makefile for: gtk-engines2 -# Date Created: 21 May 2002 -# Whom: Joe Marcus Clarke -# +# Created by: Joe Marcus Clarke # $FreeBSD$ # $MCom: ports/x11-themes/gtk-engines2/Makefile,v 1.82 2010/04/19 10:51:27 kwm Exp $ -# PORTNAME= gtk-engines2 PORTVERSION= 2.20.2 @@ -29,15 +25,20 @@ USE_AUTOTOOLS= libtool CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib -OPTIONS= ANIMATION "Enable experimental animated progressbars" off +OPTIONS_DEFINE= ANIMATION +ANIMATION_DESC= Experimental animated progressbars -.include +.include -.if defined(WITH_ANIMATION) +.if ${PORT_OPTIONS:MANIMATION} CONFIGURE_ARGS+= --enable-animation .endif +post-patch: + @${REINPLACE_CMD} -e 's|glib.*\.h>|glib.h>|g' \ + ${WRKSRC}/engines/clearlooks/src/animation.c + post-install: @(cd ${WRKSRC}/po && ${GMAKE} install) -.include +.include