svn commit: r313751 - head/devel/goffice1

Koop Mast kwm at FreeBSD.org
Sat Mar 9 19:52:50 UTC 2013


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 at FreeBSD.org>
-#
+# Created by: Joe Marcus Clarke <marcus at 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>


More information about the svn-ports-head mailing list