On Apr 30, 2009, at 17:17, [email protected] wrote:

Revision: 50431
          http://trac.macports.org/changeset/50431
Author:   [email protected]
Date:     2009-04-30 15:17:24 -0700 (Thu, 30 Apr 2009)
Log Message:
-----------
New port: eblook

[snip]

Added: trunk/dports/textproc/eblook/files/patch-configure.diff
===================================================================
--- trunk/dports/textproc/eblook/files/patch- configure.diff (rev 0) +++ trunk/dports/textproc/eblook/files/patch-configure.diff 2009-04-30 22:17:24 UTC (rev 50431)
@@ -0,0 +1,86 @@
+--- configure  2004-06-19 11:30:49.000000000 +0900
++++ configure  2007-09-16 20:06:43.000000000 +0900
+@@ -21311,14 +21311,82 @@
+
+
+
++ac_func=iconv
++save_LIBS="$LIBS"
++LIBS="$LIBS -L/opt/local/lib -liconv"
++as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for $ac_func" >&5
++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
++if eval "test \"\${$as_ac_var+set}\" = set"; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */

[snip]

It looks like this patch hard-codes the /opt/local path. You need to accommodate alternate MacPorts install prefixes.


_______________________________________________
macports-dev mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macports-dev

Reply via email to