From c21a23461a261c8ef2c94541fd31aae66ca7c515 Mon Sep 17 00:00:00 2001 From: ijliao Date: Fri, 5 Oct 2001 06:43:01 +0000 Subject: handle gmp in current system Submitted by: bento --- math/yacas/Makefile | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) (limited to 'math') 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 + +.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 +.include -- cgit