]> gitweb @ CieloNegro.org - pkgsrc-ghc.git/commitdiff
Intermediate commit for *-*-i386. Hope it works.
authorPHO <pho@cielonegro.org>
Wed, 16 Dec 2009 10:33:04 +0000 (19:33 +0900)
committerPHO <pho@cielonegro.org>
Wed, 16 Dec 2009 10:33:04 +0000 (19:33 +0900)
files/bsd-build.mk [new file with mode: 0644]
files/fallback-build.mk [new file with mode: 0644]

diff --git a/files/bsd-build.mk b/files/bsd-build.mk
new file mode 100644 (file)
index 0000000..9a5a5da
--- /dev/null
@@ -0,0 +1,18 @@
+GHC = false
+GHC_PKG_INPLACE =
+GHC_CABAL_INPLACE =
+DUMMY_GHC_INPLACE =
+UNLIT =
+NO_INCLUDE_DEPS = YES
+GhcUnregisterised = YES
+GhcLibWays = v
+GhcRTSWays =
+SplitObjs = NO
+GhcWithNativeCodeGen = NO
+GhcWithInterpreter = NO
+GhcWithSMP = NO
+ghc_stage2_v_EXTRA_CC_OPTS += -Llibraries/integer-gmp/gmp -L[[PREFIX]]/lib -lm -liconv -lutil
+utils/ghc-pkg_dist-install_v_EXTRA_CC_OPTS += -Llibraries/integer-gmp/gmp -L[[PREFIX]]/lib -lm -liconv -lutil -ltermcap
+
+SRC_CC_OPTS += -I[[PREFIX]]/include
+INTEGER_LIBRARY = integer-simple
diff --git a/files/fallback-build.mk b/files/fallback-build.mk
new file mode 100644 (file)
index 0000000..066ccd0
--- /dev/null
@@ -0,0 +1,18 @@
+GHC = false
+GHC_PKG_INPLACE =
+GHC_CABAL_INPLACE =
+DUMMY_GHC_INPLACE =
+UNLIT =
+NO_INCLUDE_DEPS = YES
+GhcUnregisterised = YES
+GhcLibWays = v
+GhcRTSWays =
+SplitObjs = NO
+GhcWithNativeCodeGen = NO
+GhcWithInterpreter = NO
+GhcWithSMP = NO
+ghc_stage2_v_EXTRA_CC_OPTS += -Llibraries/integer-gmp/gmp -L[[PREFIX]]/lib -lm -liconv
+utils/ghc-pkg_dist-install_v_EXTRA_CC_OPTS += -Llibraries/integer-gmp/gmp -L[[PREFIX]]/lib -lm -liconv -ltermcap
+
+SRC_CC_OPTS += -I[[PREFIX]]/include
+INTEGER_LIBRARY = integer-simple