.include "../../mk/bsd.prefs.mk"
# Unregisterised HC packages are architecture dependent. We have to
-# create more HC packages to support more architectures.
+# create more HC packages to support more architectures. Note that
+# these packages are built with integer-simple, not integer-gmp, to
+# reduce some complexity by not depending on the GMP. The resulting
+# registerised GHC uses integer-gmp so this won't be a problem.
ONLY_FOR_PLATFORM= NetBSD-*-i386 FreeBSD-*-i386
# Note: Darwin-*-powerpc is temporarily disabled for now. It shall
# come back in the near future. Thanks for your patience.
# We don't want to extract all of the DISTFILEs.
EXTRACT_ONLY= ${DISTNAME}-src.tar.bz2
-PLATFORM= ${LOWER_ARCH}-unknown-${LOWER_OPSYS}
+PLATFORM= ${MACHINE_ARCH}-unknown-${LOWER_OPSYS}
CONFIGURE_ARGS += \
--build=${PLATFORM} \
--host=${PLATFORM} \