[36401] trunk/dports/lang/ghc

gwright at macports.org gwright at macports.org
Wed Apr 30 06:44:19 PDT 2008


Revision: 36401
          http://trac.macosforge.org/projects/macports/changeset/36401
Author:   gwright at macports.org
Date:     2008-04-30 06:44:19 -0700 (Wed, 30 Apr 2008)

Log Message:
-----------
Keep ghc from searching user packages when building the complier.

Modified Paths:
--------------
    trunk/dports/lang/ghc/Portfile

Added Paths:
-----------
    trunk/dports/lang/ghc/files/patch-config.mk.in.diff

Modified: trunk/dports/lang/ghc/Portfile
===================================================================
--- trunk/dports/lang/ghc/Portfile	2008-04-30 13:32:27 UTC (rev 36400)
+++ trunk/dports/lang/ghc/Portfile	2008-04-30 13:44:19 UTC (rev 36401)
@@ -4,7 +4,7 @@
 
 name		ghc
 version		6.8.2
-revision	2
+revision	3
 categories	lang
 maintainers	gwright at macports.org
 platforms	darwin
@@ -45,7 +45,8 @@
 		patch-libraries-hpc-configure.ac			\
 		patch-libraries-hpc-aclocal.m4				\
 		patch-rts-posix-FileLock.c				\
-                patch-libraries-Cabal-Distribution-Simple-Configure.hs
+                patch-libraries-Cabal-Distribution-Simple-Configure.hs	\
+		patch-config.mk.in.diff
 
 depends_lib	port:readline \
 		port:gmp

Added: trunk/dports/lang/ghc/files/patch-config.mk.in.diff
===================================================================
--- trunk/dports/lang/ghc/files/patch-config.mk.in.diff	                        (rev 0)
+++ trunk/dports/lang/ghc/files/patch-config.mk.in.diff	2008-04-30 13:44:19 UTC (rev 36401)
@@ -0,0 +1,15 @@
+--- mk/config.mk.in.sav	2008-04-30 08:49:05.000000000 -0400
++++ mk/config.mk.in	2008-04-30 08:49:51.000000000 -0400
+@@ -885,9 +885,9 @@
+ # tree).  We can refer to "this ghc" as $(GHC_INPLACE):
+ 
+ GHC_INPLACE 	= $(GHC_COMPILER_DIR)/ghc-inplace
+-GHC_STAGE1 	= $(GHC_COMPILER_DIR)/stage1/ghc-inplace
+-GHC_STAGE2 	= $(GHC_COMPILER_DIR)/stage2/ghc-inplace
+-GHC_STAGE3 	= $(GHC_COMPILER_DIR)/stage3/ghc-inplace
++GHC_STAGE1 	= $(GHC_COMPILER_DIR)/stage1/ghc-inplace -no-user-package-conf
++GHC_STAGE2 	= $(GHC_COMPILER_DIR)/stage2/ghc-inplace -no-user-package-conf
++GHC_STAGE3 	= $(GHC_COMPILER_DIR)/stage3/ghc-inplace -no-user-package-conf
+ 
+ ifneq "$(findstring YES, $(UseStage1) $(BootingFromHc))" ""
+ 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080430/2df3da53/attachment.html


More information about the macports-changes mailing list