Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 4 Mar 2020 14:57:30 +0000 (UTC)
From:      Tobias Kortkamp <tobik@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r527754 - head/games/adonthell
Message-ID:  <202003041457.024EvUxW094308@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 \



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