[97864] trunk/dports/science/magic

ryandesign at macports.org ryandesign at macports.org
Mon Sep 17 18:57:47 PDT 2012


Revision: 97864
          http://trac.macports.org//changeset/97864
Author:   ryandesign at macports.org
Date:     2012-09-17 18:57:47 -0700 (Mon, 17 Sep 2012)
Log Message:
-----------
magic: fix launch failure (#32934)

Modified Paths:
--------------
    trunk/dports/science/magic/Portfile
    trunk/dports/science/magic/files/patch-scripts-configure.in.diff

Modified: trunk/dports/science/magic/Portfile
===================================================================
--- trunk/dports/science/magic/Portfile	2012-09-18 01:25:48 UTC (rev 97863)
+++ trunk/dports/science/magic/Portfile	2012-09-18 01:57:47 UTC (rev 97864)
@@ -6,6 +6,7 @@
 
 name                magic
 version             7.5.221
+revision            1
 set major           [lindex [split ${version} .] 0]
 categories          science
 # mostly very permissively licensed, but includes a copy of GNU readline

Modified: trunk/dports/science/magic/files/patch-scripts-configure.in.diff
===================================================================
--- trunk/dports/science/magic/files/patch-scripts-configure.in.diff	2012-09-18 01:25:48 UTC (rev 97863)
+++ trunk/dports/science/magic/files/patch-scripts-configure.in.diff	2012-09-18 01:57:47 UTC (rev 97864)
@@ -1,5 +1,5 @@
 --- scripts/configure.in.orig	2012-04-20 09:12:44.000000000 -0500
-+++ scripts/configure.in	2012-09-17 16:43:07.000000000 -0500
++++ scripts/configure.in	2012-09-17 20:51:22.000000000 -0500
 @@ -23,6 +23,7 @@
  dnl Checks for programs.
  AC_PROG_CC
@@ -8,6 +8,15 @@
  AC_ISC_POSIX
  AC_PROG_INSTALL
  AC_PROG_RANLIB
+@@ -39,7 +40,7 @@
+ dnl stage will not execute correctly on the ".in" files in the scmos
+ dnl directory.
+ 
+-if test "$CPP" = "gcc -E" ; then
++if test "$CPP" = "$CC -E" ; then
+    CPP="$CPP -x c"
+ fi
+ 
 @@ -251,7 +252,6 @@
  LD_RUN_PATH=""
  WISH_EXE=""
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120917/c222ea1a/attachment-0001.html>


More information about the macports-changes mailing list