svn commit: r323140 - in head/games/torcs: . files

Rene Ladan rene at FreeBSD.org
Wed Jul 17 00:09:16 UTC 2013


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
 


More information about the svn-ports-all mailing list