[22209] trunk/dports/shells/zsh-devel
source_changes at macosforge.org
source_changes at macosforge.org
Wed Feb 21 13:46:42 PST 2007
Revision: 22209
http://trac.macosforge.org/projects/macports/changeset/22209
Author: pipping at macports.org
Date: 2007-02-21 13:46:42 -0800 (Wed, 21 Feb 2007)
Log Message:
-----------
* apply patch submitted by vinc17
Modified Paths:
--------------
trunk/dports/shells/zsh-devel/Portfile
Added Paths:
-----------
trunk/dports/shells/zsh-devel/files/patch-configure
Modified: trunk/dports/shells/zsh-devel/Portfile
===================================================================
--- trunk/dports/shells/zsh-devel/Portfile 2007-02-21 20:55:25 UTC (rev 22208)
+++ trunk/dports/shells/zsh-devel/Portfile 2007-02-21 21:46:42 UTC (rev 22209)
@@ -3,6 +3,7 @@
PortSystem 1.0
name zsh-devel
version 4.3.2
+revision 1
categories shells
maintainers nomaintainer at macports.org
description Zsh is a UNIX command interpreter (shell)
@@ -26,26 +27,29 @@
ftp://ftp.iij.ad.jp/pub/misc/zsh/ \
ftp://ftp.icm.edu.pl/vol/wojsyl/zsh/\
ftp://ftp.sunsite.auc.dk/disk1/zsh/
-distname zsh-${version}
+distname zsh-${version}
checksums sha1 a6dd50c7578812bdb30f4cb65c8ac280c86dbfc3
-depends_lib port:libiconv
+depends_lib port:libiconv port:ncurses
+configure.env CPPFLAGS="-I${prefix}/include/ncurses -I${prefix}/include" \
+ LDFLAGS="-L${prefix}/lib"
configure.args --mandir=${prefix}/share/man --infodir=${prefix}/share/info \
- --enable-libs=-liconv --enable-cppflags=-I${prefix}/include \
- --enable-cflags=-I${prefix}/include --enable-ldflags=-L${prefix}/lib
+ --enable-libs=-liconv --with-curses-terminfo
+patchfiles patch-configure
platform darwin 8 {
- configure.env CC=/usr/bin/gcc-4.0 CPP=/usr/bin/cpp-4.0 CXX=/usr/bin/g++-4.0
+ configure.env-append \
+ CC=/usr/bin/gcc-4.0 CPP=/usr/bin/cpp-4.0 CXX=/usr/bin/g++-4.0
post-configure {
- reinplace "s|#define HAVE_POLL 1|#undef HAVE_POLL|" ${worksrcpath}/config.h
+ reinplace "s|#define HAVE_POLL 1|#undef HAVE_POLL|" \
+ ${worksrcpath}/config.h
}
}
variant dp_completion {
post-destroot {
- file copy -force ${filespath}/_port \
- ${destroot}${prefix}/share/zsh/${version}/functions
- }
+ file copy -force ${filespath}/_port \
+ ${destroot}${prefix}/share/zsh/${version}/functions
+ }
}
variant utf8 { configure.args-append --enable-multibyte }
-
Added: trunk/dports/shells/zsh-devel/files/patch-configure
===================================================================
--- trunk/dports/shells/zsh-devel/files/patch-configure (rev 0)
+++ trunk/dports/shells/zsh-devel/files/patch-configure 2007-02-21 21:46:42 UTC (rev 22209)
@@ -0,0 +1,11 @@
+--- configure.bak 2006-02-28 15:44:59.000000000 +0100
++++ configure 2006-12-18 16:14:29.000000000 +0100
+@@ -5986,7 +5986,7 @@
+ if test "${with_curses_terminfo+set}" = set; then
+ withval="$with_curses_terminfo"
+ if test x$withval = xyes; then
+- termcap_curses_order="tinfo curses ncurses termcap"
++ termcap_curses_order="ncurses tinfo curses termcap"
+ echo "$as_me:$LINENO: checking for library containing tigetstr" >&5
+ echo $ECHO_N "checking for library containing tigetstr... $ECHO_C" >&6
+ if test "${ac_cv_search_tigetstr+set}" = set; then
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070221/a3c5659c/attachment.html
More information about the macports-changes
mailing list