[118035] trunk/dports/irc/irssi
ryandesign at macports.org
ryandesign at macports.org
Wed Mar 19 16:42:10 PDT 2014
Revision: 118035
https://trac.macports.org/changeset/118035
Author: ryandesign at macports.org
Date: 2014-03-19 16:42:10 -0700 (Wed, 19 Mar 2014)
Log Message:
-----------
irssi: fix configure to find MacPorts ncurses header (#42945); use configure.args-replace in perl variant
Modified Paths:
--------------
trunk/dports/irc/irssi/Portfile
Added Paths:
-----------
trunk/dports/irc/irssi/files/patch-configure.diff
Modified: trunk/dports/irc/irssi/Portfile
===================================================================
--- trunk/dports/irc/irssi/Portfile 2014-03-19 21:07:57 UTC (rev 118034)
+++ trunk/dports/irc/irssi/Portfile 2014-03-19 23:42:10 UTC (rev 118035)
@@ -29,7 +29,9 @@
depends_lib port:gettext path:lib/pkgconfig/glib-2.0.pc:glib2 port:libiconv port:ncurses \
port:openssl port:zlib
-patchfiles patch-docs_irssi.1.diff
+patchfiles patch-configure.diff \
+ patch-docs_irssi.1.diff
+
post-patch {
reinplace "s|@@PREFIX@@|${prefix}|g" ${worksrcpath}/docs/irssi.1
}
@@ -38,6 +40,7 @@
--without-bot \
--with-proxy \
--with-modules \
+ --with-ncurses=${prefix} \
--enable-ipv6 \
--enable-ssl \
--with-perl=no \
@@ -45,9 +48,8 @@
variant perl description {Add Perl support} {
depends_lib-append port:perl5
- configure.args-delete --with-perl=no
- configure.args-append --with-perl=yes \
- --with-perl-lib=${prefix}/lib/perl5/darwin
+ configure.args-replace --with-perl=no --with-perl=yes
+ configure.args-append --with-perl-lib=${prefix}/lib/perl5/darwin
}
default_variants +perl
Added: trunk/dports/irc/irssi/files/patch-configure.diff
===================================================================
--- trunk/dports/irc/irssi/files/patch-configure.diff (rev 0)
+++ trunk/dports/irc/irssi/files/patch-configure.diff 2014-03-19 23:42:10 UTC (rev 118035)
@@ -0,0 +1,11 @@
+--- configure.orig 2010-04-03 11:21:26.000000000 -0500
++++ configure 2014-03-19 18:39:11.000000000 -0500
+@@ -13078,7 +13078,7 @@
+
+ CURSES_INCLUDEDIR="-I$withval/include"
+ search_ncurses=false
+- screen_manager=""ncurses on $withval/include""
++ screen_manager="ncurses on $withval/include"
+ $as_echo "#define HAS_CURSES 1" >>confdefs.h
+
+ has_curses=true
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140319/225967b5/attachment.html>
More information about the macports-changes
mailing list