no need to define YACC, add in a ghc module Makefile to set common ghc defines

This commit is contained in:
avsm 2003-07-23 18:26:35 +00:00
parent 9cd8476d57
commit 34b97c484f
2 changed files with 9 additions and 1 deletions

View File

@ -68,7 +68,6 @@ REGRESS_FLAGS+=EXTRA_RUNTEST_OPTS="--output-summary=${REGRESS_RESULT}"
# where the first compilers will be built
STAGE0= ${WRKDIR}/ghc-${BOOTVER}
YACC?= /usr/bin/yacc
USE_GMAKE= Yes
CONFIGURE_STYLE=gnu dest
CONFIGURE_ARGS=--with-ghc=${STAGE0}/ghc/driver/ghc-inplace

View File

@ -0,0 +1,9 @@
# $OpenBSD: ghc.port.mk,v 1.1 2003/07/23 18:26:35 avsm Exp $
# Module for Glasgow Haskell Compiler
# Not yet ported to other architectures
# See comments in lang/ghc/Makefile for more information
ONLY_FOR_ARCHS= i386
BUILD_DEPENDS+= bin/ghc::lang/ghc
RUN_DEPENDS+= bin/ghc::lang/ghc