Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 Mar 2013 13:11:25 +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: r315027 - head/games/monster-masher
Message-ID:  <201303231311.r2NDBPEr037129@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: kwm
Date: Sat Mar 23 13:11:25 2013
New Revision: 315027
URL: http://svnweb.freebsd.org/changeset/ports/315027

Log:
  Fix build with glib 2.34 [1]
  While here, trim header, pet portlint, add missing gettext depend and
  switch to pathfix from gnomehack.
  
  PR:		ports/177311 [1]
  Submitted by:	John Marino <draco@marino.st>

Modified:
  head/games/monster-masher/Makefile

Modified: head/games/monster-masher/Makefile
==============================================================================
--- head/games/monster-masher/Makefile	Sat Mar 23 12:38:08 2013	(r315026)
+++ head/games/monster-masher/Makefile	Sat Mar 23 13:11:25 2013	(r315027)
@@ -1,13 +1,9 @@
-# New ports collection makefile for:	Monster-Masher
-# Date created:			26 Oct 2003
-# Whom:				Koop Mast <einekoai@chello.nl>
-#
+# Created by: Koop Mast <einekoai@chello.nl>
 # $FreeBSD$
-#
 
 PORTNAME=	monster
 PORTVERSION=	1.8.1
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	games gnome
 MASTER_SITES=	http://people.iola.dk/olau/monster-masher/source/
 PKGNAMESUFFIX=	-masher
@@ -16,17 +12,23 @@ DISTNAME=	${PORTNAME}${PKGNAMESUFFIX}-${
 MAINTAINER=	kwm@FreeBSD.org
 COMMENT=	Gnomemm puzzle game where you have to clean the caves of monsters
 
-LIB_DEPENDS=	gnomecanvasmm-2.6.1:${PORTSDIR}/graphics/libgnomecanvasmm26 \
-		gconfmm-2.6.1:${PORTSDIR}/devel/gconfmm26 \
-		glademm-2.4.1:${PORTSDIR}/devel/libglademm24
+LIB_DEPENDS=	gnomecanvasmm-2.6:${PORTSDIR}/graphics/libgnomecanvasmm26 \
+		gconfmm-2.6:${PORTSDIR}/devel/gconfmm26 \
+		glademm-2.4:${PORTSDIR}/devel/libglademm24
 
 USE_BZIP2=	yes
-USE_GNOME=	gnomeprefix gnomehack intlhack libgnome esound
+USES=		pathfix
+USE_GNOME=	gnomeprefix intlhack libgnome esound
 USE_GMAKE=	yes
+USE_GETTEXT=	yes
 GNU_CONFIGURE=	yes
 CPPFLAGS+=	-I${LOCALBASE}/include
 LDFLAGS+=	-L${LOCALBASE}/lib -lesd
 
 GCONF_SCHEMAS=	monster-masher.schemas
 
+post-patch:
+	@${REINPLACE_CMD} -e 's|glib/.*\.h>|glib.h>|g' \
+		${WRKSRC}/src/pixbuf-drawing.hpp
+
 .include <bsd.port.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201303231311.r2NDBPEr037129>