[152969] trunk/dports/irc/hexchat/Portfile

raimue at macports.org raimue at macports.org
Wed Sep 21 06:43:15 PDT 2016


Revision: 152969
          https://trac.macports.org/changeset/152969
Author:   raimue at macports.org
Date:     2016-09-21 06:43:15 -0700 (Wed, 21 Sep 2016)
Log Message:
-----------
irc/hexchat: update to version 2.12.1

Fix autoreconf with proper dependencies.
Disable +python27 until its LINKFORSHARED is fixed.
Remove older +python3x variants.

Modified Paths:
--------------
    trunk/dports/irc/hexchat/Portfile

Modified: trunk/dports/irc/hexchat/Portfile
===================================================================
--- trunk/dports/irc/hexchat/Portfile	2016-09-21 12:53:30 UTC (rev 152968)
+++ trunk/dports/irc/hexchat/Portfile	2016-09-21 13:43:15 UTC (rev 152969)
@@ -4,8 +4,7 @@
 PortSystem          1.0
 
 name                hexchat
-version             2.10.2
-revision            2
+version             2.12.1
 set branch          [join [lrange [split ${version} .] 0 1] .]
 categories          irc
 maintainers         raimue \
@@ -21,18 +20,16 @@
     It is based on XChat, but unlike its predecessor completely \
     free software.
 
-master_sites        http://dl.hexchat.net/hexchat/
+master_sites        https://dl.hexchat.net/hexchat/
 use_xz yes
 
-checksums           rmd160  a37ae7451afa0d93446dba22c38d00d02bc49a6b \
-                    sha256  87ebf365c576656fa3f23f51d319b3a6d279e4a932f2f8961d891dd5a5e1b52c
+checksums           rmd160  877b00c61a2a32a9297babbaf7e0e8536f5d301f \
+                    sha256  5201b0c6d17dcb8c2cb79e9c39681f8e052999ba8f7b5986d5c1e7dc68fa7c6b
 
 depends_build       port:pkgconfig \
                     port:intltool \
-                    port:gnome-common \
-                    port:autoconf \
-                    port:automake \
-                    port:libtool
+                    port:gnome-common
+
 depends_lib         port:gtk2 \
                     port:libsexy \
                     path:bin/perl:perl5 \
@@ -40,13 +37,22 @@
                     port:libnotify \
                     port:gettext
 
-# reconfigure using upstream autogen.sh for intltool 0.51 compatibility
+# reconfigure for intltool 0.51 compatibility
+use_autoreconf      yes
+autoreconf.cmd      ./autogen.sh
+autoreconf.args     --copy
+autoreconf.env      NOCONFIGURE=1
 
-configure.cmd       ./autogen.sh && ./configure
+# add these dependencies late as changing autoreconf.cmd removes them
+depends_build-append \
+                    port:autoconf \
+                    port:automake \
+                    port:libtool
 
 configure.args      --disable-dependency-tracking \
                     --enable-minimal-flags \
                     --disable-python \
+                    --disable-lua \
                     --disable-mmx \
                     --enable-ipv6 \
                     --disable-openssl \
@@ -74,24 +80,14 @@
     use_autoreconf yes
 }
 
-variant python27 description "Enable Python plugin, using python27" conflicts python33 python34 python35 {
-    configure.args-replace --disable-python --enable-python=python2.7
-    depends_lib-append port:python27
-    configure.pkg_config_path ${frameworks_dir}/Python.framework/Versions/2.7/lib/pkgconfig/
-}
+# python27 has a broken LINKFORSHARED variable, needs to be fixed in the python27 port
+# https://lists.macosforge.org/pipermail/macports-dev/2016-September/033712.html
+#variant python27 description "Enable Python plugin, using python27" conflicts python33 python34 python35 {
+#    configure.args-replace --disable-python --enable-python=python2.7
+#    depends_lib-append port:python27
+#    configure.pkg_config_path ${frameworks_dir}/Python.framework/Versions/2.7/lib/pkgconfig/
+#}
 
-variant python33 description "Enable Python plugin, using python33" conflicts python27 python34 python35 {
-    configure.args-replace --disable-python --enable-python=python3.3
-    depends_lib-append port:python33
-    configure.pkg_config_path ${frameworks_dir}/Python.framework/Versions/3.3/lib/pkgconfig/
-}
-
-variant python34 description "Enable Python plugin, using python34" conflicts python27 python33 python35 {
-    configure.args-replace --disable-python --enable-python=python3.4
-    depends_lib-append port:python34
-    configure.pkg_config_path ${frameworks_dir}/Python.framework/Versions/3.4/lib/pkgconfig/
-}
-
 variant python35 description "Enable Python plugin, using python35" conflicts python27 python33 python34 {
     configure.args-replace --disable-python --enable-python=python3.5
     depends_lib-append port:python35
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160921/f7866cfb/attachment.html>


More information about the macports-changes mailing list