Bug 196175 - science/libctl: update to 3.2.2, fix breakage and add NLopt
Summary: science/libctl: update to 3.2.2, fix breakage and add NLopt
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Rene Ladan
URL:
Keywords:
Depends on: 195952
Blocks: 196179
  Show dependency treegraph
 
Reported: 2014-12-21 17:04 UTC by Rainer Hurling
Modified: 2015-01-04 12:57 UTC (History)
3 users (show)

See Also:
bugzilla: maintainer-feedback? (devel)


Attachments
update science/libctl, with guile2 and NLopt (2.35 KB, patch)
2014-12-21 17:04 UTC, Rainer Hurling
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Rainer Hurling freebsd_committer freebsd_triage 2014-12-21 17:04:13 UTC
Created attachment 150829 [details]
update science/libctl, with guile2 and NLopt

After updates in GNOME3, lang/guile conflicts with lang/guile2. When gnome3 is installed, it is impossible to build science/libctl. 

Therefore, the following patch updates to lang/guile2 dependency. While there, make some further changes and enhancements:

- change to lang/guile2
- add pkgconfig to USES=
- add libm.so to LDFLAGS
- add option NLopt to use external Nonlinear Optimizer
- strip libraries and example file
- bump Portrevision


science/libctl has an integrated wrapper for the Nonlinear Optimizer NLopt (in subdirectory 'utils') . If the port math/nlopt is installed, the configure script automatically finds its header file.

ATTENTION PLEASE: This patch needs Bug 195952 (math/nlopt) to be committed before, because there is also a change towards lang/guile2.


---------------
Tested on Poudriere with HEADamd64, 93amd64 and 84i386, with and without option NLopt enabled. No problems so far.

portlint -AC
WARN: Makefile: use ".if ${PORT_OPTIONS:MDOCS}" to wrap installation of files into /usr/local/share/doc.

As far, as I can see, the doc files and the example files install and deinstall as expected. So I don't know, if this warning should be considered.
Comment 1 Bugzilla Automation freebsd_committer freebsd_triage 2014-12-21 17:04:13 UTC
Maintainer CC'd
Comment 2 commit-hook freebsd_committer freebsd_triage 2015-01-04 12:57:49 UTC
A commit references this bug:

Author: rene
Date: Sun Jan  4 12:56:58 UTC 2015
New revision: 376221
URL: https://svnweb.freebsd.org/changeset/ports/376221

Log:
  science/libctl: update to 3.2.2
  - use lang/guile2 instead of lang/guile
  - add pkgconfig to USES
  - add option to use lang/nlopt
  - strip libraries

  PR:		196175
  Submitted by:	Rainer Hurling
  Approved by:	maintainer timeout (devel@stasyan.com, 14 days)

Changes:
  head/science/libctl/Makefile
  head/science/libctl/distinfo
  head/science/libctl/pkg-plist