[Bug 207693] math/saga: Drop not needed LDFLAGS=opencv
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Fri Mar 4 06:19:28 UTC 2016
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=207693
Bug ID: 207693
Summary: math/saga: Drop not needed LDFLAGS=opencv
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: Individual Port(s)
Assignee: freebsd-ports-bugs at FreeBSD.org
Reporter: rhurlin at gwdg.de
Created attachment 167703
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=167703&action=edit
patch to remove LDFLAGS=opencv from Makefile
In SAGA GIS version 2.1.0, 'LDFLAGS+= -lopencv_contrib' was introduced because
of some trouble with opencv libs, linked in from graphics/opencv[-core].
Using LDFLAGS in this context leads to some overlinking, which could be found
in prior versions of SAGA GIS, for instance:
ldd /usr/local/bin/saga_gui | grep opencv
libopencv_contrib.so.2 => /usr/local/lib/libopencv_contrib.so.2
(0x2f6fb000)
libopencv_nonfree.so.2 => /usr/local/lib/libopencv_nonfree.so.2
(0x37977000)
libopencv_gpu.so.2 => /usr/local/lib/libopencv_gpu.so.2 (0x38384000)
libopencv_legacy.so.2 => /usr/local/lib/libopencv_legacy.so.2
(0x3859f000)
libopencv_photo.so.2 => /usr/local/lib/libopencv_photo.so.2
(0x388a4000)
libopencv_ocl.so.2 => /usr/local/lib/libopencv_ocl.so.2 (0x38ac0000)
libopencv_calib3d.so.2 => /usr/local/lib/libopencv_calib3d.so.2
(0x38e86000)
libopencv_features2d.so.2 => /usr/local/lib/libopencv_features2d.so.2
(0x39126000)
libopencv_flann.so.2 => /usr/local/lib/libopencv_flann.so.2
(0x393cb000)
libopencv_ml.so.2 => /usr/local/lib/libopencv_ml.so.2 (0x39641000)
libopencv_video.so.2 => /usr/local/lib/libopencv_video.so.2
(0x398c2000)
libopencv_objdetect.so.2 => /usr/local/lib/libopencv_objdetect.so.2
(0x39b0a000)
libopencv_highgui.so.2 => /usr/local/lib/libopencv_highgui.so.2
(0x39d84000)
libopencv_imgproc.so.2 => /usr/local/lib/libopencv_imgproc.so.2
(0x3a200000)
libopencv_core.so.2 => /usr/local/lib/libopencv_core.so.2 (0x3a800000)
This is overcome by some changes in the SAGA GIS opencv module for some time
now, and so this 'global' LDFLAGS in Makefile should be removed. The attached
patch also bumps port revision, to get rid of the unneeded deps after
rebuilding.
Tested with Poudriere, and 'portlint -AC' does not complain.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list