diff options
author | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2001-10-05 06:43:01 +0000 |
---|---|---|
committer | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2001-10-05 06:43:01 +0000 |
commit | 3a0ceec1a5c55faa42ad2225439159e6518d671c (patch) | |
tree | 200694b824a46c6379cda553f7ff4077364971b9 /math/yacas | |
parent | 8ad35cfd0efe6bffbe97a19601ea801b46bc6984 (diff) |
handle gmp in current system
Submitted by: bento
Notes
Notes:
svn path=/head/; revision=48457
Diffstat (limited to 'math/yacas')
-rw-r--r-- | math/yacas/Makefile | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/math/yacas/Makefile b/math/yacas/Makefile index abb6ac652a07..fc8e3ba4cd6b 100644 --- a/math/yacas/Makefile +++ b/math/yacas/Makefile @@ -14,7 +14,17 @@ MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \ MAINTAINER= ijliao@FreeBSD.org +.include <bsd.port.pre.mk> + +.if defined(WITH_GMP) +.if ${OSVERSION} >= 500000 +LIB_DEPENDS+= gmp.3:${PORTSDIR}/math/libgmp +CONFIGURE_ENV+= CPPFLAGS="${CXXFLAGS} -I${LOCALBASE}/include" \ + LDFLAGS="-L${LOCALBASE}/lib" +.endif +CONFIGURE_ARGS+= --enable-gmp=yes +.endif + GNU_CONFIGURE= yes -CONFIGURE_ARGS= --enable-gmp=yes -.include <bsd.port.mk> +.include <bsd.port.post.mk> |