1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-19 19:59:43 +00:00
freebsd-ports/math/nlopt/Makefile
Gerald Pfeifer ea8c8ec7da Bump PORTREVISION for ports depending on the canonical version of GCC
as defined in Mk/bsd.default-versions.mk which has moved from GCC 8.3
to GCC 9.1 under most circumstances now after revision 507371.

This includes ports
 - with USE_GCC=yes or USE_GCC=any,
 - with USES=fortran,
 - using Mk/bsd.octave.mk which in turn features USES=fortran, and
 - with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
   c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, everything INDEX-11 shows with a dependency on lang/gcc9 now.

PR:		238330
2019-07-26 20:46:53 +00:00

36 lines
939 B
Makefile

# Created by: Rainer Hurling <rhurlin@gwdg.de>
# $FreeBSD$
PORTNAME= nlopt
DISTVERSIONPREFIX= v
DISTVERSION= 2.6.1
PORTREVISION= 2
CATEGORIES= math
MAINTAINER= rhurlin@gwdg.de
COMMENT= Nonlinear optimization library
LICENSE= LGPL21 MIT
LICENSE_COMB= multi
LICENSE_FILE= ${WRKSRC}/COPYING
BROKEN_armv6= fails to package: Unable to access file site-packages/_nlopt.a:No such file or directory
BROKEN_armv7= fails to package: Unable to access file site-packages/_nlopt.a:No such file or directory
BUILD_DEPENDS= swig3.0:devel/swig30 \
${PYTHON_PKGNAMEPREFIX}numpy>=1.16.1:math/py-numpy@${PY_FLAVOR}
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numpy>=1.16.1:math/py-numpy@${PY_FLAVOR}
LIB_DEPENDS= libgmp.so:math/gmp \
libguile-2.2.so:lang/guile2
USES= cmake compiler:features pathfix pkgconfig python
USE_LDCONFIG= yes
USE_GITHUB= yes
GH_ACCOUNT= stevengj
# Needed to find gmp.h
CFLAGS+= -I${LOCALBASE}/include
.include <bsd.port.mk>