ports/142286: devel/py-game: fix build on 9-CURRENT

Jilles Tjoelker jilles at stack.nl
Sun Jan 3 23:30:05 UTC 2010


>Number:         142286
>Category:       ports
>Synopsis:       devel/py-game: fix build on 9-CURRENT
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jan 03 23:30:05 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Jilles Tjoelker
>Release:        FreeBSD 9.0-CURRENT i386
>Organization:
MCGV Stack
>Environment:
/bin/sh r197691 or newer
>Description:
Due to a change in /bin/sh a mismatched single quote inside backticks
(`...`) now causes an error in pre-configure.
>How-To-Repeat:
Try to build the port using /bin/sh with r197691 change in it.
>Fix:
Apply the attached patch to the port Makefile.

--- devel-py-game-buildfix.patch begins here ---
--- /usr/ports/devel/py-game/Makefile.orig	2009-07-31 15:50:27.000000000 +0200
+++ /usr/ports/devel/py-game/Makefile	2010-01-04 00:07:14.000000000 +0100
@@ -35,7 +35,7 @@
 	@${FIND} ${WRKSRC} -type f | xargs ${CHMOD} a+r
 
 pre-configure:
-	@invalid=`${PKG_INFO} -I ${SDLNOX11:C/.+/'&'/} 2>/dev/null | ${AWK} '{print $$1}`
+	@invalid=`${PKG_INFO} -I ${SDLNOX11:C/.+/'&'/} 2>/dev/null | ${AWK} '{print $$1}'`
 	@if [ ! -z "$$invalid" ]; then \
 		${ECHO_MSG} "${PKGNAME} is marked as broken: devel/sdl12 needs to be built with X11 support enabled."; \
 		exit 1; \
--- devel-py-game-buildfix.patch ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list