math/nlopt: fix guile2 option after GNOME 3 update.

- use lang/guile2 instead of lang/guile
- use swig3.0 instead of swig2.0
- bump PORTREVISION

PR:		195952
Submitted by:	maintainer (Rainer Hurling)
This commit is contained in:
Rene Ladan 2014-12-31 15:49:47 +00:00
parent 7070ad766e
commit c98ff3cc11
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=375896
2 changed files with 7 additions and 6 deletions

View file

@ -3,6 +3,7 @@
PORTNAME= nlopt PORTNAME= nlopt
PORTVERSION= 2.4.2 PORTVERSION= 2.4.2
PORTREVISION= 1
CATEGORIES= math CATEGORIES= math
MASTER_SITES= http://ab-initio.mit.edu/nlopt/ MASTER_SITES= http://ab-initio.mit.edu/nlopt/
@ -14,13 +15,13 @@ LICENSE_COMB= multi
LICENSE_FILE= ${WRKSRC}/COPYING LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libgmp.so:${PORTSDIR}/math/gmp \ LIB_DEPENDS= libgmp.so:${PORTSDIR}/math/gmp \
libguile.so:${PORTSDIR}/lang/guile libguile-2.0.so:${PORTSDIR}/lang/guile2
BUILD_DEPENDS= swig2.0:${PORTSDIR}/devel/swig20 \ BUILD_DEPENDS= swig3.0:${PORTSDIR}/devel/swig30 \
${PYTHON_PKGNAMEPREFIX}numpy>=1.8.1:${PORTSDIR}/math/py-numpy ${PYTHON_PKGNAMEPREFIX}numpy>=1.9.1:${PORTSDIR}/math/py-numpy
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numpy>=1.8.1:${PORTSDIR}/math/py-numpy RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numpy>=1.9.1:${PORTSDIR}/math/py-numpy
CONFIGURE_ARGS= --enable-shared CONFIGURE_ARGS= --enable-shared
CONFIGURE_ENV= SWIG="${LOCALBASE}/bin/swig2.0" CONFIGURE_ENV= SWIG="${LOCALBASE}/bin/swig3.0"
USES= autoreconf compiler:features libtool pathfix \ USES= autoreconf compiler:features libtool pathfix \
pkgconfig python:2 pkgconfig python:2

View file

@ -18,4 +18,4 @@ libdata/pkgconfig/nlopt.pc
%%PYTHON_SITELIBDIR%%/nlopt.pyc %%PYTHON_SITELIBDIR%%/nlopt.pyc
%%PYTHON_SITELIBDIR%%/nlopt.pyo %%PYTHON_SITELIBDIR%%/nlopt.pyo
man/man3/nlopt.3.gz man/man3/nlopt.3.gz
share/guile/site/nlopt.scm share/guile/site/2.0/nlopt.scm