[20979] trunk/dports/devel/happy
source_changes at macosforge.org
source_changes at macosforge.org
Fri Dec 15 10:20:12 PST 2006
Revision: 20979
http://trac.macosforge.org/projects/macports/changeset/20979
Author: gwright at macports.org
Date: 2006-12-15 10:20:12 -0800 (Fri, 15 Dec 2006)
Log Message:
-----------
Fix build on intel.
Modified Paths:
--------------
trunk/dports/devel/happy/Portfile
Added Paths:
-----------
trunk/dports/devel/happy/files/
trunk/dports/devel/happy/files/patch-configure
Modified: trunk/dports/devel/happy/Portfile
===================================================================
--- trunk/dports/devel/happy/Portfile 2006-12-15 18:12:42 UTC (rev 20978)
+++ trunk/dports/devel/happy/Portfile 2006-12-15 18:20:12 UTC (rev 20979)
@@ -3,6 +3,7 @@
PortSystem 1.0
name happy
version 1.15
+revision 1
categories devel
maintainers gwright at opendarwin.org
platforms darwin
@@ -29,8 +30,10 @@
checksums md5 02ceb122b904fa4a4290e6ea1072d59e
-depends_build bin:ghc:ghc
+patchfiles patch-configure
+depends_build port:ghc
+
pre-configure { set cfg [open "${worksrcpath}/mk/build.mk" w]
puts $cfg "#"
puts $cfg "# Local configuration overrides for DarwinPorts"
Added: trunk/dports/devel/happy/files/patch-configure
===================================================================
--- trunk/dports/devel/happy/files/patch-configure (rev 0)
+++ trunk/dports/devel/happy/files/patch-configure 2006-12-15 18:20:12 UTC (rev 20979)
@@ -0,0 +1,27 @@
+--- configure.sav 2006-12-15 13:16:28.000000000 -0500
++++ configure 2006-12-15 13:18:13.000000000 -0500
+@@ -1768,6 +1768,15 @@
+ HostVendor_CPP='ibm'
+ HostOS_CPP='aix'
+ ;;
++i686-apple-darwin*)
++ HostPlatform=i686-apple-darwin
++ TargetPlatform=i686-apple-darwin #hack
++ BuildPlatform=i686-apple-darwin #hack
++ HostPlatform_CPP='i686_apple_darwin'
++ HostArch_CPP='i686'
++ HostVendor_CPP='apple'
++ HostOS_CPP='darwin'
++ ;;
+ powerpc-apple-darwin*)
+ HostPlatform=powerpc-apple-darwin
+ TargetPlatform=powerpc-apple-darwin #hack
+@@ -16705,7 +16714,7 @@
+
+
+ HaveFrameworkHaskellSupport=NO
+-if test $HostPlatform = "powerpc-apple-darwin"; then
++if test $HostPlatform = "powerpc-apple-darwin" || $HostPlatform = "i686-apple-darwin; then
+ echo "$as_me:$LINENO: checking for HaskellSupport.framework" >&5
+ echo $ECHO_N "checking for HaskellSupport.framework... $ECHO_C" >&6
+ save_libs="$LIBS"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20061215/21a2a7dd/attachment.html
More information about the macports-changes
mailing list