Date: Mon, 11 Feb 2019 16:40:07 +0000 (UTC) From: Koichiro Iwao <meta@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r492699 - head/irc/hexchat Message-ID: <201902111640.x1BGe7vj072861@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: meta Date: Mon Feb 11 16:40:06 2019 New Revision: 492699 URL: https://svnweb.freebsd.org/changeset/ports/492699 Log: irc/hexchat: fix build when PYTHON option is off - hexchat requires Python 3 - Specify PYTHON_VER in MESON_ARGS since each ports might be built with different Python versions PR: 235644 Submitted by: w.schwarzenfeld@utanet.at Reported by: Philipp Engel <kidon@posteo.de> Approved by: Piotr Kubaj <pkubaj@anongoth.pl> (maintainer) Modified: head/irc/hexchat/Makefile head/irc/hexchat/pkg-plist Modified: head/irc/hexchat/Makefile ============================================================================== --- head/irc/hexchat/Makefile Mon Feb 11 16:05:56 2019 (r492698) +++ head/irc/hexchat/Makefile Mon Feb 11 16:40:06 2019 (r492699) @@ -3,8 +3,8 @@ PORTNAME= hexchat PORTVERSION= 2.14.2 -PORTREVISION= 1 DISTVERSIONPREFIX= v +PORTREVISION= 2 CATEGORIES= irc gnome ipv6 MAINTAINER= pkubaj@anongoth.pl @@ -21,11 +21,12 @@ LIB_DEPENDS= libproxy.so:net/libproxy \ RUN_DEPENDS= ${LOCALBASE}/share/xml/iso-codes/iso_639.xml:misc/iso-codes USES= compiler:c++11-lang desktop-file-utils gettext-tools gnome \ - libtool meson ninja pkgconfig shebangfix ssl + libtool meson ninja pkgconfig python:3.5+ shebangfix ssl USE_GNOME= cairo gtk20 intltool libxml2 USE_XORG= x11 USE_GITHUB= yes -MESON_ARGS= -Dwith-ssl=true -Dwith-gtk=true + +MESON_ARGS= -Dwith-ssl=true -Dwith-gtk=true -Dwith-python=python-${PYTHON_VER} INSTALLS_ICONS= yes INSTALL_TARGET= install-strip @@ -37,9 +38,9 @@ SUB_FILES= pkg-message PORTDOCS= * OPTIONS_DEFINE= CA_BUNDLE CANBERRA DBUS DOCS FISHLIM LUA NOTIFY \ - PERL PYTHON TEXTFE SYSINFO + PERL TEXTFE SYSINFO -OPTIONS_DEFAULT= CA_BUNDLE CANBERRA DBUS NOTIFY PERL PYTHON +OPTIONS_DEFAULT= CA_BUNDLE CANBERRA DBUS NOTIFY PERL OPTIONS_SUB= yes @@ -66,14 +67,12 @@ NOTIFY_LIB_DEPENDS= libnotify.so:devel/libnotify NOTIFY_MESON_TRUE= with-libnotify PERL_MESON_TRUE= with-perl PERL_USES= perl5 -PYTHON_MESON_ON= -Dwith-python=python-${PYTHON_VER} -PYTHON_MESON_OFF= -Dwith-python=false -PYTHON_USES= python:3.4+ shebangfix -PYTHON_VARS= SHEBANG_FILES=meson_post_install.py -PYTHON_VARS+= SHEBANG_FILES=plugins/perl/generate_header.py -PYTHON_VARS+= SHEBANG_FILES=src/common/make-te.py TEXTFE_MESON_TRUE= with-text SYSINFO_MESON_TRUE= with-sysinfo + +SHEBANG_FILES= meson_post_install.py \ + plugins/perl/generate_header.py \ + src/common/make-te.py post-patch: @${REINPLACE_CMD} -e 's|%%CA_BUNDLE%%|${CA_BUNDLE}|' \ Modified: head/irc/hexchat/pkg-plist ============================================================================== --- head/irc/hexchat/pkg-plist Mon Feb 11 16:05:56 2019 (r492698) +++ head/irc/hexchat/pkg-plist Mon Feb 11 16:40:06 2019 (r492699) @@ -4,7 +4,7 @@ include/hexchat-plugin.h lib/hexchat/plugins/checksum.so %%FISHLIM%%lib/hexchat/plugins/fishlim.so %%PERL%%lib/hexchat/plugins/perl.so -%%PYTHON%%lib/hexchat/plugins/python.so +lib/hexchat/plugins/python.so %%LUA%%%%LUA_LIBDIR%%/hexchat/plugins/lua.so %%SYSINFO%%lib/hexchat/plugins/sysinfo.so libdata/pkgconfig/hexchat-plugin.pc
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201902111640.x1BGe7vj072861>