diff options
author | asau <asau> | 2012-06-15 09:20:28 +0000 |
---|---|---|
committer | asau <asau> | 2012-06-15 09:20:28 +0000 |
commit | ee281c9cb7be1e7fb51bdc903c41692990536a8d (patch) | |
tree | 997f0bc069dc4192146120889d94669ce23c19b3 /lang/polyml | |
parent | 0062973374fcc1deba9f62ed7d69585c81efac64 (diff) | |
download | pkgsrc-ee281c9cb7be1e7fb51bdc903c41692990536a8d.tar.gz |
The package doesn't require GMP, turn it off, provide option instead.
Diffstat (limited to 'lang/polyml')
-rw-r--r-- | lang/polyml/Makefile | 5 | ||||
-rw-r--r-- | lang/polyml/options.mk | 11 |
2 files changed, 11 insertions, 5 deletions
diff --git a/lang/polyml/Makefile b/lang/polyml/Makefile index 6ee1640d918..bfdce750de7 100644 --- a/lang/polyml/Makefile +++ b/lang/polyml/Makefile @@ -1,8 +1,8 @@ -# $NetBSD: Makefile,v 1.4 2012/06/14 22:23:36 sbd Exp $ +# $NetBSD: Makefile,v 1.5 2012/06/15 09:20:28 asau Exp $ DISTNAME= polyml.5.4.1 PKGNAME= polyml-5.4.1 -PKGREVISION= 1 +PKGREVISION= 2 CATEGORIES= lang MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=polyml/} @@ -23,5 +23,4 @@ TEST_TARGET= tests .include "options.mk" .include "../../mk/pthread.buildlink3.mk" -.include "../../devel/gmp/buildlink3.mk" .include "../../mk/bsd.pkg.mk" diff --git a/lang/polyml/options.mk b/lang/polyml/options.mk index 7983174df7b..bb09ec24a9a 100644 --- a/lang/polyml/options.mk +++ b/lang/polyml/options.mk @@ -1,7 +1,7 @@ -# $NetBSD: options.mk,v 1.1.1.1 2009/03/20 21:12:51 asau Exp $ +# $NetBSD: options.mk,v 1.2 2012/06/15 09:20:28 asau Exp $ PKG_OPTIONS_VAR= PKG_OPTIONS.polyml -PKG_SUPPORTED_OPTIONS= motif x11 +PKG_SUPPORTED_OPTIONS= motif x11 gmp PKG_SUGGESTED_OPTIONS= motif x11 .include "../../mk/bsd.options.mk" @@ -18,3 +18,10 @@ CONFIGURE_ARGS+= --with-x .if !empty(PKG_OPTIONS:Mmotif) .include "../../mk/motif.buildlink3.mk" .endif + +.if !empty(PKG_OPTIONS:Mgmp) +CONFIGURE_ARGS+= --with-gmp=yes +.include "../../devel/gmp/buildlink3.mk" +.else +CONFIGURE_ARGS+= --with-gmp=no +.endif |