Date: Sat, 9 Mar 2013 19:52: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: r313751 - head/devel/goffice1 Message-ID: <201303091952.r29Jqo4q085703@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: kwm Date: Sat Mar 9 19:52:49 2013 New Revision: 313751 URL: http://svnweb.freebsd.org/changeset/ports/313751 Log: Fix build with glib 2.34. Update header, and use USES=pathfix Submitted by: miwi Modified: head/devel/goffice1/Makefile Modified: head/devel/goffice1/Makefile ============================================================================== --- head/devel/goffice1/Makefile Sat Mar 9 19:37:09 2013 (r313750) +++ head/devel/goffice1/Makefile Sat Mar 9 19:52:49 2013 (r313751) @@ -1,10 +1,6 @@ -# New ports collection makefile for: goffice -# Date created: 07 June 2005 -# Whom: Joe Marcus Clarke <marcus@FreeBSD.org> -# +# Created by: Joe Marcus Clarke <marcus@FreeBSD.org> # $FreeBSD$ # $MCom: ports/devel/goffice1/Makefile,v 1.1 2007/07/23 21:36:19 mezz Exp $ -# PORTNAME= goffice PORTVERSION= 0.2.2 @@ -19,7 +15,8 @@ NO_LATEST_LINK= yes USE_BZIP2= yes USE_GMAKE= yes -USE_GNOME= gnomeprefix gnomehack intlhack libgnomeprint libglade2 \ +USES= pathfix +USE_GNOME= gnomeprefix intlhack libgnomeprint libglade2 \ libgsf_gnome ltverhack USE_GETTEXT= yes USE_AUTOTOOLS= libtool @@ -29,4 +26,14 @@ LDFLAGS+= -L${LOCALBASE}/lib PLIST_SUB= VERSION=${PORTVERSION} +post-patch: + @${REINPLACE_CMD} -e 's|glib/.*\.h>|glib.h>|g' \ + ${WRKSRC}/goffice/utils/go-math.h \ + ${WRKSRC}/goffice/utils/go-regression.h \ + ${WRKSRC}/goffice/utils/go-regression.c \ + ${WRKSRC}/goffice/utils/go-regression.c \ + ${WRKSRC}/goffice/app/goffice-app.h \ + ${WRKSRC}/goffice/ms-compat/god-drawing-ms.c \ + ${WRKSRC}/goffice/ms-compat/go-ms-parser.c + .include <bsd.port.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201303091952.r29Jqo4q085703>