Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Jun 2021 15:25:35 GMT
From:      Thierry Thomas <thierry@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: ca24a792c496 - main - net-im/toxic: upgrade to v0.11.1
Message-ID:  <202106291525.15TFPZCt006229@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by thierry:

URL: https://cgit.FreeBSD.org/ports/commit/?id=ca24a792c496ac8c1177e41b0e8dd969c84ab5fd

commit ca24a792c496ac8c1177e41b0e8dd969c84ab5fd
Author:     Thierry Thomas <thierry@FreeBSD.org>
AuthorDate: 2021-06-29 10:11:23 +0000
Commit:     Thierry Thomas <thierry@FreeBSD.org>
CommitDate: 2021-06-29 15:25:28 +0000

    net-im/toxic: upgrade to v0.11.1
    
    Release notes at <https://github.com/JFreegman/toxic/releases/tag/v0.11.1>.
---
 net-im/toxic/Makefile | 18 +++++++++++-------
 net-im/toxic/distinfo |  6 +++---
 2 files changed, 14 insertions(+), 10 deletions(-)

diff --git a/net-im/toxic/Makefile b/net-im/toxic/Makefile
index 5da7bf4c82fb..f2cea5dc02bf 100644
--- a/net-im/toxic/Makefile
+++ b/net-im/toxic/Makefile
@@ -1,7 +1,7 @@
 # Created by: Thierry Thomas <thierry@pompo.net>
 
 PORTNAME=	toxic
-PORTVERSION=	0.10.1
+PORTVERSION=	0.11.1
 DISTVERSIONPREFIX=	v
 CATEGORIES=	net-im
 
@@ -26,15 +26,18 @@ USES=		compiler:c11 desktop-file-utils gettext-runtime gmake ncurses openal:al,a
 USE_GITHUB=	yes
 GH_ACCOUNT=	JFreegman
 
-OPTIONS_DEFINE=	X11 PYTHON
-OPTIONS_DEFAULT=X11
+OPTIONS_DEFINE=	GAMES X11 PYTHON
+OPTIONS_DEFAULT=GAMES X11
+
+GAMES_DESC=	Includes a games module
+GAMES_MAKE_ARGS_OFF=	DISABLE_GAMES=1
 
 X11_USES=	gnome xorg
 X11_USE=	GNOME=gdkpixbuf2,glib20 XORG=x11
 X11_MAKE_ARGS_OFF=	DISABLE_X11=1 DISABLE_DESKTOP_NOTIFY=1
 X11_LIB_DEPENDS=libnotify.so:devel/libnotify
 
-PYTHON_USES=	python:3.7+
+PYTHON_USES=	python:3.8+
 PYTHON_MAKE_ARGS=	ENABLE_PYTHON=1
 
 CFLAGS+=	-I${NCURSESINC} -pthread
@@ -44,9 +47,10 @@ MAKE_ENV=	USER_CFLAGS="${CFLAGS}" USER_LDFLAGS="${LDFLAGS}"	\
 		MANDIR="${MANPREFIX}/man"
 SUB_FILES=	pkg-message
 
-post-patch-PYTHON-on:
-	${REINPLACE_CMD} -e '/PYTHON3_LIBS/ s|python3|python-${PYTHON_VER}|' \
-			 -e 's|python3-config|${PYTHON_VERSION}-config|g' \
+pre-configure-PYTHON-on:
+	${REINPLACE_CMD} -e '/PYTHON3_LIBS/ s|python3|python-${PYTHON_VER}|'	\
+			 -e 's|python3-config|${PYTHON_VERSION}-config|g'	\
+			 -e 's|--ldflags|--ldflags --embed|'			\
 		${WRKSRC}/cfg/checks/python.mk
 
 pre-configure:
diff --git a/net-im/toxic/distinfo b/net-im/toxic/distinfo
index ab57ba707644..0750b70edeea 100644
--- a/net-im/toxic/distinfo
+++ b/net-im/toxic/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1611216893
-SHA256 (JFreegman-toxic-v0.10.1_GH0.tar.gz) = b3cfbea28135fbc48c083276160cef02de755b60f6cfe1bd6efc1b5fdd4b92fe
-SIZE (JFreegman-toxic-v0.10.1_GH0.tar.gz) = 1165118
+TIMESTAMP = 1624959986
+SHA256 (JFreegman-toxic-v0.11.1_GH0.tar.gz) = 5df8f3cf21c2b228546399f0c2a77c6d8f5356939a85c32222a4f6a26b82688a
+SIZE (JFreegman-toxic-v0.11.1_GH0.tar.gz) = 1204163



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