[154217] trunk/dports/textproc/yamcha
ryandesign at macports.org
ryandesign at macports.org
Mon Oct 24 16:50:23 CEST 2016
Revision: 154217
https://trac.macports.org/changeset/154217
Author: ryandesign at macports.org
Date: 2016-10-24 16:50:23 +0200 (Mon, 24 Oct 2016)
Log Message:
-----------
yamcha: Always run autoreconf
Since we are patching configure.in, the configure script always needs
to be regenerated.
Rename configure.in to configure.ac since that's what autoconf wants.
Modified Paths:
--------------
trunk/dports/textproc/yamcha/Portfile
Added Paths:
-----------
trunk/dports/textproc/yamcha/files/patch-configure.ac.diff
Removed Paths:
-------------
trunk/dports/textproc/yamcha/files/patch-configure.in.diff
Modified: trunk/dports/textproc/yamcha/Portfile
===================================================================
--- trunk/dports/textproc/yamcha/Portfile 2016-10-24 14:38:29 UTC (rev 154216)
+++ trunk/dports/textproc/yamcha/Portfile 2016-10-24 14:50:23 UTC (rev 154217)
@@ -28,13 +28,14 @@
depends_lib port:perl5 \
port:TinySVM
-patchfiles patch-configure.in.diff
-
-# respect build_arch / universal_archs when building dylib
-if {[variant_isset universal]} {
- use_autoreconf yes
+post-extract {
+ move ${worksrcpath}/configure.in ${worksrcpath}/configure.ac
}
+patchfiles patch-configure.ac.diff
+
+use_autoreconf yes
+
configure.args --with-svm-learn=${prefix}/bin/svm_learn
test.run yes
Copied: trunk/dports/textproc/yamcha/files/patch-configure.ac.diff (from rev 154216, trunk/dports/textproc/yamcha/files/patch-configure.in.diff)
===================================================================
--- trunk/dports/textproc/yamcha/files/patch-configure.ac.diff (rev 0)
+++ trunk/dports/textproc/yamcha/files/patch-configure.ac.diff 2016-10-24 14:50:23 UTC (rev 154217)
@@ -0,0 +1,13 @@
+--- configure.ac.orig 2004-12-05 14:24:42.000000000 -0600
++++ configure.ac 2011-04-19 07:19:14.000000000 -0500
+@@ -60,8 +60,8 @@
+ dnl check gcc
+ dnl
+ if test -n "$GCC"; then
+- CFLAGS="-O3 -Wno-deprecated -Wall"
+- CXXFLAGS="-O3 -Wno-deprecated -Wall"
++ CFLAGS="$CFLAGS -Wno-deprecated -Wall"
++ CXXFLAGS="$CXXFLAGS -Wno-deprecated -Wall"
+ fi
+
+ dnl
Deleted: trunk/dports/textproc/yamcha/files/patch-configure.in.diff
===================================================================
--- trunk/dports/textproc/yamcha/files/patch-configure.in.diff 2016-10-24 14:38:29 UTC (rev 154216)
+++ trunk/dports/textproc/yamcha/files/patch-configure.in.diff 2016-10-24 14:50:23 UTC (rev 154217)
@@ -1,13 +0,0 @@
---- configure.in.orig 2004-12-05 14:24:42.000000000 -0600
-+++ configure.in 2011-04-19 07:19:14.000000000 -0500
-@@ -60,8 +60,8 @@
- dnl check gcc
- dnl
- if test -n "$GCC"; then
-- CFLAGS="-O3 -Wno-deprecated -Wall"
-- CXXFLAGS="-O3 -Wno-deprecated -Wall"
-+ CFLAGS="$CFLAGS -Wno-deprecated -Wall"
-+ CXXFLAGS="$CXXFLAGS -Wno-deprecated -Wall"
- fi
-
- dnl
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macports.org/pipermail/macports-changes/attachments/20161024/414bf031/attachment-0002.html>
More information about the macports-changes
mailing list