svn commit: r527754 - head/games/adonthell

Tobias Kortkamp tobik at FreeBSD.org
Wed Mar 4 14:57:31 UTC 2020


Author: tobik
Date: Wed Mar  4 14:57:30 2020
New Revision: 527754
URL: https://svnweb.freebsd.org/changeset/ports/527754

Log:
  games/adonthell: Allow build with Python 3
  
  Waste's Edge seems to work fine with it too.

Modified:
  head/games/adonthell/Makefile

Modified: head/games/adonthell/Makefile
==============================================================================
--- head/games/adonthell/Makefile	Wed Mar  4 10:53:02 2020	(r527753)
+++ head/games/adonthell/Makefile	Wed Mar  4 14:57:30 2020	(r527754)
@@ -4,6 +4,7 @@
 
 PORTNAME=	adonthell
 PORTVERSION=	0.3.8
+PORTREVISION=	1
 CATEGORIES=	games
 MASTER_SITES=	SAVANNAH
 DISTFILES=	${PORTNAME}-src-${PORTVERSION}${EXTRACT_SUFX}
@@ -18,12 +19,13 @@ LIB_DEPENDS=	libfreetype.so:print/freetype2 \
 		libogg.so:audio/libogg \
 		libvorbis.so:audio/libvorbis
 
-USES=		gettext gmake localbase pkgconfig python:2.7 sdl
+USES=		gettext gmake localbase pkgconfig python sdl
 USE_SDL=	mixer2 ttf2
 GNU_CONFIGURE=	yes
-CONFIGURE_ARGS=	--disable-py-debug --disable-pyc \
-		--with-python=${PYTHON_CMD} \
-		--with-py-libs="-lpython${PYTHON_VER}"
+CONFIGURE_ARGS=	--disable-py-debug \
+		--disable-pyc \
+		--with-py-libs="$$(${PYTHON_CMD}-config --ldflags)" \
+		--with-python=${PYTHON_CMD}
 
 PLIST_DIRS=	${DATADIR}/games
 PLIST_FILES=	bin/adonthell \


More information about the svn-ports-all mailing list