From owner-freebsd-python@FreeBSD.ORG Mon Oct 22 21:20:03 2007 Return-Path: Delivered-To: freebsd-python@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4897916A418 for ; Mon, 22 Oct 2007 21:20:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 2781F13C491 for ; Mon, 22 Oct 2007 21:20:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.1/8.14.1) with ESMTP id l9MLK2ZU015811 for ; Mon, 22 Oct 2007 21:20:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.1/8.14.1/Submit) id l9MLK2wA015810; Mon, 22 Oct 2007 21:20:02 GMT (envelope-from gnats) Date: Mon, 22 Oct 2007 21:20:02 GMT Message-Id: <200710222120.l9MLK2wA015810@freefall.freebsd.org> To: freebsd-python@FreeBSD.org From: Marcus von Appen Cc: Subject: Re: ports/117378: devel/py-game doesn't compile X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Marcus von Appen List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Oct 2007 21:20:03 -0000 The following reply was made to PR ports/117378; it has been noted by GNATS. From: Marcus von Appen To: bug-followup@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--