Date: Sat, 23 Feb 2013 16:35:50 +0000 (UTC) From: Koop Mast <kwm@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r312840 - head/x11-themes/gtk-engines2 Message-ID: <201302231635.r1NGZoA3069848@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 <gustau.perez@gmail.com> [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 <marcus@FreeBSD.org> -# +# Created by: Joe Marcus Clarke <marcus@FreeBSD.org> # $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 <bsd.port.pre.mk> +.include <bsd.port.options.mk> -.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 <bsd.port.post.mk> +.include <bsd.port.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201302231635.r1NGZoA3069848>