ports/117378: devel/py-game doesn't compile

Marcus von Appen mva at sysfault.org
Mon Oct 22 14:20:03 PDT 2007


The following reply was made to PR ports/117378; it has been noted by GNATS.

From: Marcus von Appen <mva at sysfault.org>
To: bug-followup at FreeBSD.org
Cc:  
Subject: Re: ports/117378: devel/py-game doesn't compile
Date: Mon, 22 Oct 2007 22:49:23 +0200

 --VrqPEDrXMn8OVzN4
 Content-Type: multipart/mixed; boundary="AqsLC8rIMeq19msA"
 Content-Disposition: inline
 
 
 --AqsLC8rIMeq19msA
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: inline
 
 This error only occurs, if sdl is compiled with no X11 support.
 I added a pre-configure target, which checks for a wrong sdl-nox11-*
 package (similar to the CONFLICTS target) and exits, if necessary.
 
 Can someone please recheck this or provide a better solution (if there's
 any)?
 
 Regards
 Marcus
 
 --AqsLC8rIMeq19msA
 Content-Type: text/x-diff; charset=us-ascii
 Content-Disposition: attachment; filename="pygame.diff"
 Content-Transfer-Encoding: quoted-printable
 
 diff -Nur py-game/Makefile py-game.new/Makefile
 --- py-game/Makefile	2007-07-30 11:41:14.000000000 +0200
 +++ py-game.new/Makefile	2007-10-22 22:45:14.000000000 +0200
 @@ -28,5 +28,14 @@
  PYDISTUTILS_PKGNAME=3D	pygame
  PYDISTUTILS_PKGVERSION=3D	1.7.1release
 =20
 +SDLNOX11=3D	sdl-nox11-[0-9]*
 +
 +pre-configure:
 +	@invalid=3D`${PKG_INFO} -I ${SDLNOX11:C/.+/'&'/} 2>/dev/null | ${AWK} '{p=
 rint $$1}'`; \
 +	if [ ! -z "$$invalid" ]; then \
 +		${ECHO_MSG} "${PKGNAME} is marked as broken: devel/sdl12 needs to be bui=
 lt with X11 support enabled"; \
 +		exit 1; \
 +	fi
 +
  do-configure:
  	@cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} config.py
 
 --AqsLC8rIMeq19msA--
 
 --VrqPEDrXMn8OVzN4
 Content-Type: application/pgp-signature
 Content-Disposition: inline
 
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.4.7 (FreeBSD)
 
 iD8DBQFHHQzSo/JpszXavhwRAku1AKCWbT1gVAcjVFN3YXFv3twbrQFB2ACfT4Kp
 UIYyjHSyWrU9Tw6KW9HR6K8=
 =AjLf
 -----END PGP SIGNATURE-----
 
 --VrqPEDrXMn8OVzN4--


More information about the freebsd-python mailing list