handle gmp in current system
Submitted by: bento
This commit is contained in:
parent
8ad35cfd0e
commit
3a0ceec1a5
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=48457
@ -14,7 +14,17 @@ MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \
|
||||
|
||||
MAINTAINER= ijliao@FreeBSD.org
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
CONFIGURE_ARGS= --enable-gmp=yes
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.include <bsd.port.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
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user