- give it a chance to build on !i386 (fix WANTLIB)

This commit is contained in:
ajacoutot 2007-06-27 13:54:56 +00:00
parent 14b9dbf647
commit adbdb46c21

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.6 2005/05/22 09:45:06 alek Exp $
# $OpenBSD: Makefile,v 1.7 2007/06/27 13:54:56 ajacoutot Exp $
# $NetBSD: Makefile,v 1.29 2004/03/26 21:19:53 wiz Exp $
COMMENT= "portable Haskell compiler"
@ -32,6 +32,7 @@ CONFIGURE_ARGS=--installdir=${PREFIX}
.if ${MACHINE_ARCH} == "i386"
MODULES= lang/ghc
CONFIGURE_ARGS+=--buildwith=ghc
WANTLIB+= gmp
.else
CONFIGURE_ARGS+=--buildwith=gcc
.endif
@ -47,6 +48,6 @@ PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= gmp c m ncurses readline
WANTLIB= c m ncurses readline
.include <bsd.port.mk>