1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-03 06:04:53 +00:00
freebsd-ports/math/nlopt/Makefile
Sunpoet Po-Chuan Hsieh cb333cf1ec Move devel/swig30 to devel/swig and update to 4.0.1
- Do not silence installation message
- Update dependent ports:
  - Fix build with swig 4.0.1
  - Update *_DEPENDS
  - Remove BINARY_ALIAS

Changes:	http://www.swig.org/news.php
PR:		246613
Exp-run by:	antoine
2020-06-17 18:17:45 +00:00

35 lines
918 B
Makefile

# Created by: Rainer Hurling <rhurlin@gwdg.de>
# $FreeBSD$
PORTNAME= nlopt
DISTVERSIONPREFIX= v
DISTVERSION= 2.6.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= swig:devel/swig \
${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>