Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Nov 2013 20:37:54 +0000 (UTC)
From:      William Grzybowski <wg@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r334970 - head/games/xspacewarp
Message-ID:  <201311262037.rAQKbsmR028474@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: wg
Date: Tue Nov 26 20:37:54 2013
New Revision: 334970
URL: http://svnweb.freebsd.org/changeset/ports/334970

Log:
  games/xspacewarp: fix build on current
  
  PR:		ports/184227
  Submitted by:	KATO Tsuguru <tkato432 yahoo.com>

Modified:
  head/games/xspacewarp/Makefile

Modified: head/games/xspacewarp/Makefile
==============================================================================
--- head/games/xspacewarp/Makefile	Tue Nov 26 20:37:47 2013	(r334969)
+++ head/games/xspacewarp/Makefile	Tue Nov 26 20:37:54 2013	(r334970)
@@ -5,8 +5,7 @@ PORTNAME=	xspacewarp
 PORTVERSION=	1.2
 PORTREVISION=	2
 CATEGORIES=	games
-MASTER_SITES=	${MASTER_SITE_XCONTRIB}
-MASTER_SITE_SUBDIR=	games
+MASTER_SITES=	XCONTRIB/games
 
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Time Trek - like game for X Window System
@@ -19,6 +18,14 @@ PLIST_FILES=	bin/xspacewarp \
 		lib/X11/app-defaults/XSpacewarp
 
 post-extract:
-	@${CP} ${WRKSRC}/XSpacewarp.app_def ${WRKSRC}/XSpacewarp.ad
+	@${LN} -sf XSpacewarp.app_def ${WRKSRC}/XSpacewarp.ad
+
+post-patch:
+	@${FIND} ${WRKSRC} -name "*.cc" -or -name "*.hh" | ${XARGS} \
+		${REINPLACE_CMD} -e \
+		's|<iostream.h>|<iostream>| ; \
+		 s| cerr| std::cerr| ; \
+		 s| cout| std::cout| ; \
+		 s| endl| std::endl|'
 
 .include <bsd.port.mk>



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