[79037] trunk/dports/editors/vigor
jmr at macports.org
jmr at macports.org
Mon May 30 17:44:35 PDT 2011
Revision: 79037
http://trac.macports.org/changeset/79037
Author: jmr at macports.org
Date: 2011-05-30 17:44:32 -0700 (Mon, 30 May 2011)
Log Message:
-----------
vigor: fix build (#24790)
Modified Paths:
--------------
trunk/dports/editors/vigor/Portfile
trunk/dports/editors/vigor/files/patch-configure.diff
Modified: trunk/dports/editors/vigor/Portfile
===================================================================
--- trunk/dports/editors/vigor/Portfile 2011-05-30 23:58:53 UTC (rev 79036)
+++ trunk/dports/editors/vigor/Portfile 2011-05-31 00:44:32 UTC (rev 79037)
@@ -15,20 +15,24 @@
homepage http://vigor.sourceforge.net/
master_sites sourceforge
checksums md5 5bd9a2e50581817f4a5f0e7a0f0d1a52
-patchfiles patch-configure.diff
+depends_build port:automake
depends_lib port:tcl \
port:tk
worksrcdir ${worksrcdir}/build
-configure.env ADDCPPFLAGS='-I${prefix}/include/' \
- ADDLDFLAGS='-L${prefix}/lib -L${prefix}/lib/tk8.4'
-configure.args --host=powerpc-apple-darwin \
- --enable-tknvi
-#configure.env CFLAGS='-I${prefix}/include' \
-# LDFLAGS='-L${prefix}/lib/tk8.4 -L${prefix}/lib'
+patchfiles patch-configure.diff
+post-patch {
+ file copy -force ${prefix}/share/automake-1.11/config.guess \
+ ${prefix}/share/automake-1.11/config.sub \
+ ${worksrcpath}
+}
+
+configure.env ADDLDFLAGS='-L${prefix}/lib/tk8.5'
+configure.args --enable-tknvi
+
build.env ${configure.env}
destroot.destdir prefix=${destroot}${prefix}
Modified: trunk/dports/editors/vigor/files/patch-configure.diff
===================================================================
--- trunk/dports/editors/vigor/files/patch-configure.diff 2011-05-30 23:58:53 UTC (rev 79036)
+++ trunk/dports/editors/vigor/files/patch-configure.diff 2011-05-31 00:44:32 UTC (rev 79037)
@@ -1,11 +1,12 @@
---- configure Wed May 3 04:27:53 2000
-+++ configure.new Wed Apr 28 22:01:35 2004
-@@ -1943,7 +1943,7 @@
- cat conftest.$ac_ext >&5
- fi
- rm -f conftest*
--test "$ac_cv_search_Tk_Init" = "no" && for i in tk tk82 tk8.2 tk80 tk8.0; do
-+test "$ac_cv_search_Tk_Init" = "no" && for i in tk tk82 tk8.4 tk80 tk8.0; do
- LIBS="-l$i $XLIBS $ac_func_search_save_LIBS"
- cat > conftest.$ac_ext <<EOF
- #line 1950 "configure"
+--- configure.orig 2000-05-03 12:27:53.000000000 +1000
++++ configure 2011-05-31 09:56:59.000000000 +1000
+@@ -4154,7 +4154,8 @@
+
+ echo $ac_n "checking for System V pty calls""... $ac_c" 1>&6
+ echo "configure:4157: checking for System V pty calls" >&5
+-if eval "test \"`echo '$''{'vi_cv_sys5_pty'+set}'`\" = set"; then
++if true; then
++ vi_cv_sys5_pty=no
+ echo $ac_n "(cached) $ac_c" 1>&6
+ else
+ cat > conftest.$ac_ext <<EOF
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110530/8cb1c947/attachment.html>
More information about the macports-changes
mailing list