Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Jul 2013 00:09:16 +0000 (UTC)
From:      Rene Ladan <rene@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r323140 - in head/games/torcs: . files
Message-ID:  <201307170009.r6H09GMU051196@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: rene
Date: Wed Jul 17 00:09:16 2013
New Revision: 323140
URL: http://svnweb.freebsd.org/changeset/ports/323140

Log:
  - Fix fallout from shebangfix conversion
  - Remove two patches which are believed to be obsolete with new freeglut

Deleted:
  head/games/torcs/files/patch-src__libs__confscreens__Makefile
  head/games/torcs/files/patch-src__libs__tgfclient__Makefile
Modified:
  head/games/torcs/Makefile

Modified: head/games/torcs/Makefile
==============================================================================
--- head/games/torcs/Makefile	Tue Jul 16 23:49:05 2013	(r323139)
+++ head/games/torcs/Makefile	Wed Jul 17 00:09:16 2013	(r323140)
@@ -44,6 +44,8 @@ INSTDIR=	${PREFIX}/share/games/${PORTNAM
 
 PORTDOCS=	faq.html
 
+BASH2FIX=	src/linux/torcs.in Make-default.mk
+
 DESKTOP_ENTRIES=	"TORCS" \
 			"The Open Racing Car Simulator" \
 			"${INSTDIR}/Ticon.png" \
@@ -57,6 +59,13 @@ OPTIONS_DEFINE=	DOCS
 
 EMPTYDIR=	champ dtmrace endrace ncrace practice quickrace
 
+# shebangfix does not catch these two (not at top of file):
+post-patch:
+.for FILE in ${BASH2FIX}
+	@${REINPLACE_CMD} -E -e "s|/bin/bash|${LOCALBASE}/bin/bash|" \
+	    ${WRKSRC}/${FILE}
+.endfor
+
 pre-install:
 	@${MKDIR} ${PREFIX}/share/games
 



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