svn commit: r315037 - in head: databases/mergeant print/photoprint

Koop Mast kwm at FreeBSD.org
Sat Mar 23 14:54:55 UTC 2013


Author: kwm
Date: Sat Mar 23 14:54:54 2013
New Revision: 315037
URL: http://svnweb.freebsd.org/changeset/ports/315037

Log:
  Fix build with glib 2.34.
  
  Submitted by:	John Marino <draco at marino.st>

Modified:
  head/databases/mergeant/Makefile
  head/print/photoprint/Makefile

Modified: head/databases/mergeant/Makefile
==============================================================================
--- head/databases/mergeant/Makefile	Sat Mar 23 14:44:02 2013	(r315036)
+++ head/databases/mergeant/Makefile	Sat Mar 23 14:54:54 2013	(r315037)
@@ -1,10 +1,6 @@
-# New ports collection makefile for:	mergeant
-# Date created:				14 September 2002
-# Whom:					Joe Marcus Clarke <marcus at FreeBSD.org>
-#
+# Created by: Joe Marcus Clarke <marcus at FreeBSD.org>
 # $FreeBSD$
 #   $MCom: ports/databases/mergeant/Makefile,v 1.20 2008/02/05 13:30:46 kwm Exp $
-#
 
 PORTNAME=	mergeant
 PORTVERSION=	0.67
@@ -19,13 +15,14 @@ COMMENT=	Provide uniform access to data 
 USE_BZIP2=	yes
 USE_GETTEXT=	yes
 USE_GMAKE=	yes
-USE_GNOME=	gnomeprefix intlhack gnomehack libgnomedb
+USES=		pathfix
+USE_GNOME=	gnomeprefix intlhack libgnomedb
 USE_PERL5=	yes
 GNU_CONFIGURE=	yes
 INSTALLS_OMF=	yes
 INSTALLS_ICONS=	yes
 USE_LDCONFIG=	yes
-CPPFLAGS+=	-I${LOCALBASE}/include
+CPPFLAGS+=	-I${LOCALBASE}/include -DGLIB_COMPILATION
 LDFLAGS+=	-L${LOCALBASE}/lib
 
 .include <bsd.port.mk>

Modified: head/print/photoprint/Makefile
==============================================================================
--- head/print/photoprint/Makefile	Sat Mar 23 14:44:02 2013	(r315036)
+++ head/print/photoprint/Makefile	Sat Mar 23 14:54:54 2013	(r315037)
@@ -32,6 +32,10 @@ INSTALLS_ICONS=	yes
 
 LDFLAGS+=	-L${LOCALBASE}/lib
 
+post-patch:
+	@${REINPLACE_CMD} -e 's|glib/gstrfuncs.h|glib.h|g' \
+		${WRKSRC}/gp_cppsupport/gprinter.cpp
+
 post-install:
 		- at update-desktop-database
 


More information about the svn-ports-all mailing list