mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-08 06:48:28 +00:00
09f9633cb6
in the ports tree (via Mk/bsd.default-versions.mk and lang/gcc) which has now moved from GCC 6 to GCC 7 by default. This includes ports - featuring USE_GCC=yes or USE_GCC=any, - featuring USES=fortran, - using Mk/bsd.octave.mk which in turn features USES=fortran, and those - with USES=compiler specifying one of openmp, nestedfct, c11, c++0x, c++11-lib, c++11-lang, c++14-lang, c++17-lang, or gcc-c++11-lib. PR: 222542
37 lines
947 B
Makefile
37 lines
947 B
Makefile
# Created by: Li-Wen Hsu <lwhsu@lwhsu.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= cvc3
|
|
PORTVERSION= 2.4.1
|
|
PORTREVISION= 5
|
|
CATEGORIES= math
|
|
MASTER_SITES= http://www.cs.nyu.edu/acsys/cvc3/download/${PORTVERSION}/
|
|
|
|
MAINTAINER= lwhsu@FreeBSD.org
|
|
COMMENT= Automatic theorem prover for the SMT problem
|
|
|
|
LIB_DEPENDS= libgmp.so:math/gmp
|
|
|
|
CONFIGURE_ARGS= --enable-dynamic \
|
|
--with-arith=gmp \
|
|
--with-build=optimized \
|
|
--with-extra-includes=${LOCALBASE}/include \
|
|
--with-extra-libs=${LOCALBASE}/lib
|
|
CXXFLAGS+= -fPIC
|
|
GNU_CONFIGURE= yes
|
|
USES= bison gmake pathfix perl5
|
|
PATHFIX_MAKEFILEIN= Makefile
|
|
USE_CXXSTD= gnu++98
|
|
USE_GCC= any
|
|
USE_LDCONFIG= yes
|
|
|
|
post-patch:
|
|
${REINPLACE_CMD} -e 's,/bin/bash,/bin/sh,' ${WRKSRC}/Makefile.std
|
|
${REINPLACE_CMD} -e 's,.*$$(LDCONFIG).*,,' ${WRKSRC}/src/Makefile
|
|
|
|
post-install:
|
|
${INSTALL_PROGRAM} `readlink ${WRKSRC}/bin/cvc3` ${STAGEDIR}${PREFIX}/bin
|
|
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libcvc3.so.5.0.0
|
|
|
|
.include <bsd.port.mk>
|