=================================================================== RCS file: /cvs/ports/games/torcs/Makefile,v retrieving revision 1.8 retrieving revision 1.9 diff -u -r1.8 -r1.9 --- ports/games/torcs/Makefile 2012/02/02 17:25:07 1.8 +++ ports/games/torcs/Makefile 2012/07/20 17:37:07 1.9 @@ -1,8 +1,8 @@ -# $OpenBSD: Makefile,v 1.8 2012/02/02 17:25:07 yason Exp $ +# $OpenBSD: Makefile,v 1.9 2012/07/20 17:37:07 kirby Exp $ COMMENT = The Open Racing Car Simulator -DISTNAME = torcs-1.3.2 +DISTNAME = torcs-1.3.3 CATEGORIES = games x11 @@ -31,9 +31,7 @@ graphics/png USE_GMAKE = Yes -USE_LIBTOOL = Yes CONFIGURE_STYLE = gnu -CONFIGURE_ARGS += ${CONFIGURE_SHARED} CONFIGURE_ENV += CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include" \ LDFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/lib -pthread -lm -logg -lvorbis" @@ -51,7 +49,9 @@ post-patch: .for i in ${FILES} - perl -pi -e "s,/bin/bash,/bin/sh," \ + @perl -pi -e "s,/bin/bash,/bin/sh," \ + ${WRKSRC}/${i} + @perl -pi -e "s,games\/,," \ ${WRKSRC}/${i} .endfor