Bug 195952

Summary: [MAINTAINER] math/nlopt: Fix guile2 after gnome3 update
Product: Ports & Packages Reporter: Rainer Hurling <rhurlin>
Component: Individual Port(s)Assignee: Rene Ladan <rene>
Status: Closed FIXED    
Severity: Affects Some People CC: rene, rhurlin
Priority: --- Keywords: needs-qa, patch
Version: Latest   
Hardware: Any   
OS: Any   
Bug Depends on:    
Bug Blocks: 196175, 196179    
Attachments:
Description Flags
patch to fix math/nlopt after gnome3 update none

Description Rainer Hurling freebsd_committer freebsd_triage 2014-12-13 22:02:09 UTC
Created attachment 150551 [details]
patch to fix math/nlopt after gnome3 update

[math/nlopt is used by math/R by its package 'nloptr', needed by some other R packages like lme4.]

The update of x11/gnome3 changed its dependency lang/guile to lang/guile2. After that, math/nlopt does not build anymore. The appended patch should fix it:

- fix build, use lang/guile2 instead of lang/guile
- change from swig2.0 to swig3.0
- update pkg-plist
- bump PORTREVISION

portlint -AC does not complain about the patched version.

Tested with Poudriere: builds fine on HEAD amd64, 9.3 amd64 and 8.4 i368 (other variants not testet).
Comment 1 commit-hook freebsd_committer freebsd_triage 2014-12-31 15:50:24 UTC
A commit references this bug:

Author: rene
Date: Wed Dec 31 15:49:48 UTC 2014
New revision: 375896
URL: https://svnweb.freebsd.org/changeset/ports/375896

Log:
  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)

Changes:
  head/math/nlopt/Makefile
  head/math/nlopt/pkg-plist