svn commit: r531341 - in head/games: . py-pychess

Mikhail Teterin mi at FreeBSD.org
Fri Apr 10 21:34:00 UTC 2020


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


More information about the svn-ports-all mailing list