mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-14 03:10:47 +00:00
89f8b05214
lang/gcc which have moved from GCC 4.8.5 to GCC 4.9.4 (at least under some circumstances such as versions of FreeBSD or platforms). In particular that is ports with USE_GCC=yes, USE_GCC=any, or one of gcc-c++11-lib, openmp, nestedfct, c++11-lib as well as c++14-lang, c++11-lang, c++0x, c11 requested via USES=compiler.
40 lines
995 B
Makefile
40 lines
995 B
Makefile
# Created by: NAKATA, Maho <maho@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= libint
|
|
DISTVERSIONPREFIX= release-
|
|
DISTVERSION= 1-1-6
|
|
PORTREVISION= 1
|
|
CATEGORIES= science
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Evaluate the integrals in modern atomic and molecular theory
|
|
|
|
LICENSE= GPLv2
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= evaleev
|
|
|
|
# USE_GCC=yes is required because libint is used with mpqc which is built
|
|
# by gfortran48 (from `lang/gcc') and these two libraries each try to pull
|
|
# in a different version of libgcc_s.so which fails. Forcing this port to
|
|
# build with lang/gcc as well resolves the conflict that manifests in
|
|
# `science/libghemical' port.
|
|
USES= autoreconf gmake libtool perl5
|
|
USE_GCC= yes
|
|
USE_LDCONFIG= yes
|
|
ALL_TARGET= default
|
|
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS= --enable-shared
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's| -rpath|${LDFLAGS} -rpath|g' \
|
|
${WRKSRC}/src/lib/MakeVars.in
|
|
|
|
post-install:
|
|
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/*.so
|
|
|
|
.include <bsd.port.mk>
|