Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Apr 2020 21:33:59 +0000 (UTC)
From:      Mikhail Teterin <mi@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r531341 - in head/games: . py-pychess
Message-ID:  <202004102133.03ALXxeC093590@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mi
Date: Fri Apr 10 21:33:59 2020
New Revision: 531341
URL: https://svnweb.freebsd.org/changeset/ports/531341

Log:
  Re-add the py-pychess now that I figured out the USES=display quirk.
  This port needs a working X11 DISPLAY for all of configure, build,
  install and stage, whereas Uses/display.mk only provides it for one
  such target...

Added:
  head/games/py-pychess/
     - copied from r531331, head/games/py-pychess/
Modified:
  head/games/Makefile
  head/games/py-pychess/Makefile

Modified: head/games/Makefile
==============================================================================
--- head/games/Makefile	Fri Apr 10 21:28:33 2020	(r531340)
+++ head/games/Makefile	Fri Apr 10 21:33:59 2020	(r531341)
@@ -718,6 +718,7 @@
     SUBDIR += pushover
     SUBDIR += pvpgn
     SUBDIR += py-cbeams
+    SUBDIR += py-chess
     SUBDIR += py-fife
     SUBDIR += py-mnemosyne
     SUBDIR += py-sgflib

Modified: head/games/py-pychess/Makefile
==============================================================================
--- head/games/py-pychess/Makefile	Fri Apr 10 16:42:54 2020	(r531331)
+++ head/games/py-pychess/Makefile	Fri Apr 10 21:33:59 2020	(r531341)
@@ -19,7 +19,11 @@ COMMON_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pexpect>0:misc/
 RUN_DEPENDS=	${COMMON_DEPENDS}
 BUILD_DEPENDS=	${COMMON_DEPENDS}
 
-USES=		desktop-file-utils display gettext gnome python:3.3+
+USES=		desktop-file-utils display:configure gettext gnome python:3.3+
+# DISPLAY must be set at all steps:
+.for t in build install stage
+_USES_$t+=	${_USES_configure}
+.endfor
 USE_GSTREAMER1=	yes
 USE_PYTHON=	distutils autoplist
 USE_GNOME=	gtksourceview3:run glib20 gtk30 librsvg2 introspection



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202004102133.03ALXxeC093590>