Bug 181491

Summary: [PATCH] update devel/clanlib to 2.3.7
Product: Ports & Packages Reporter: Chris Petrik <c.petrik.sosa>
Component: Individual Port(s)Assignee: Ruslan Makhmatkhanov <rm>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description Chris Petrik 2013-08-23 19:20:00 UTC
Update to 2.3.7

Fix: Patch attached with submission follows:
Comment 1 Ruslan Makhmatkhanov freebsd_committer freebsd_triage 2013-09-01 10:36:25 UTC
Responsible Changed
From-To: freebsd-ports-bugs->rm

I will take it.
Comment 2 dfilter service freebsd_committer freebsd_triage 2013-09-01 16:19:57 UTC
Author: rm
Date: Sun Sep  1 15:19:48 2013
New Revision: 325864
URL: http://svnweb.freebsd.org/changeset/ports/325864

Log:
  - update to 2.3.7
  - chase the update in games/super_methane_brothers
  - convert USE_GMAKE to USES, while here
  
  PR:		181491
  Submitted by:	chris petrik <c.petrik.sosa@gmail.com> (maintainer)

Deleted:
  head/devel/clanlib/files/patch-Sources__Core__System__Unix__init_linux.cpp
  head/devel/clanlib/files/patch-Sources__Core__System__system.cpp
Modified:
  head/devel/clanlib/Makefile
  head/devel/clanlib/distinfo
  head/games/super_methane_brothers/Makefile

Modified: head/devel/clanlib/Makefile
==============================================================================
--- head/devel/clanlib/Makefile	Sun Sep  1 15:14:49 2013	(r325863)
+++ head/devel/clanlib/Makefile	Sun Sep  1 15:19:48 2013	(r325864)
@@ -2,8 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	clanlib
-PORTVERSION=	2.3.6
-PORTREVISION=	1
+PORTVERSION=	2.3.7
 PORTEPOCH=	1
 CATEGORIES=	devel
 MASTER_SITES=	http://www.clanlib.org/download/releases-2.0/
@@ -21,12 +20,12 @@ LIB_DEPENDS=	jpeg:${PORTSDIR}/graphics/j
 		mikmod:${PORTSDIR}/audio/libmikmod \
 		vorbis:${PORTSDIR}/audio/libvorbis \
 		fontconfig:${PORTSDIR}/x11-fonts/fontconfig \
-		pcre:${PORTSDIR}/devel/pcre
+		pcre:${PORTSDIR}/devel/pcre \
+		execinfo:${PORTSDIR}/devel/libexecinfo
 
-USE_GMAKE=	yes
 USE_GCC=	yes
 USE_XORG=	x11
-USES=	pathfix pkgconfig
+USES=		gmake pathfix pkgconfig
 USE_LDCONFIG=	yes
 USE_GL=		yes
 USE_SQLITE=	yes
@@ -56,5 +55,10 @@ PLIST_SUB+=	VER=${PORTVERSION:R} \
 post-patch:
 	@${REINPLACE_CMD} -e 's|LIBS="-lsqlite3 -ldl"|LIBS="-lsqlite3"|g' \
 		${WRKSRC}/configure
-
+	@${REINPLACE_CMD} -e '114 s|/proc/self/exe|/proc/curproc/file|g' \
+		${WRKSRC}/Sources/Core/System/Unix/init_linux.cpp
+	@${REINPLACE_CMD} -e 's|APPLE|FreeBSD|g' \
+		${WRKSRC}/Sources/Core/System/system.cpp
+	@${REINPLACE_CMD} -e '47 s|#ifndef __FreeBSD__|#if !defined(__FreeBSD__)|g' \
+		${WRKSRC}/Sources/Core/System/system.cpp
 .include <bsd.port.mk>

Modified: head/devel/clanlib/distinfo
==============================================================================
--- head/devel/clanlib/distinfo	Sun Sep  1 15:14:49 2013	(r325863)
+++ head/devel/clanlib/distinfo	Sun Sep  1 15:19:48 2013	(r325864)
@@ -1,2 +1,2 @@
-SHA256 (ClanLib-2.3.6.tgz) = b8dc9b41028bf16c0a6082aa15cdee5d8b1ecd5256797576970f09a63e3fafde
-SIZE (ClanLib-2.3.6.tgz) = 25605576
+SHA256 (ClanLib-2.3.7.tgz) = d46127c08103f48d15936ceb9f95b3dfb1ff8ccba667cef1b3f8e639cb2601c2
+SIZE (ClanLib-2.3.7.tgz) = 26132425

Modified: head/games/super_methane_brothers/Makefile
==============================================================================
--- head/games/super_methane_brothers/Makefile	Sun Sep  1 15:14:49 2013	(r325863)
+++ head/games/super_methane_brothers/Makefile	Sun Sep  1 15:19:48 2013	(r325864)
@@ -3,6 +3,7 @@
 
 PORTNAME=	super_methane_brothers
 PORTVERSION=	1.5.1
+PORTREVISION=	1
 CATEGORIES=	games
 MASTER_SITES=	SF/methane/Methane%20Stable/Methane%20V${PORTVERSION}
 DISTNAME=	methane-${PORTVERSION}
@@ -16,10 +17,9 @@ LICENSE=	GPLv2
 LIB_DEPENDS=	clan23Core:${PORTSDIR}/devel/clanlib \
 		execinfo:${PORTSDIR}/devel/libexecinfo
 
-USES=		pkgconfig
+USES=		gmake pkgconfig
 USE_GCC=	yes
 USE_GL=		glu
-USE_GMAKE=	yes
 MAKE_ENV=	METHANE_FLAGS="${CPPFLAGS}" METHANE_LIBS="${LDFLAGS}"
 MAKE_JOBS_UNSAFE=	yes
 
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 3 Ruslan Makhmatkhanov freebsd_committer freebsd_triage 2013-09-01 16:20:09 UTC
State Changed
From-To: open->closed

Committed, thank you!