--- compiler/ghc.cabal.in.sav	2009-07-01 11:56:08.000000000 -0400
+++ compiler/ghc.cabal.in	2009-07-01 11:57:34.000000000 -0400
@@ -67,6 +67,7 @@
         Build-Depends: unix
 
     GHC-Options: -Wall -fno-warn-name-shadowing -fno-warn-orphans
+    extra-lib-dirs: XXMACPORTS_PREFIXXX/lib
 
     if flag(ghci)
         Build-Depends: template-haskell
