Bug 211459 - cad/qcad: links to shared libraries broken
Summary: cad/qcad: links to shared libraries broken
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Many People
Assignee: Michael Reifenberger
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-07-30 13:22 UTC by Robert Klein
Modified: 2016-08-02 22:43 UTC (History)
0 users

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


Attachments
tentative patch (509 bytes, patch)
2016-07-30 13:22 UTC, Robert Klein
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Robert Klein 2016-07-30 13:22:11 UTC
Created attachment 173120 [details]
tentative patch

There is a slight mistake in the Makefile for qcad by which shared library links point to non-existing files, for example

libqcadcore.so links to lib/libqcadcore.so.0 but should instead link to libqcadcore.so.0 

Line 68 (or thereabouts) should probably look like this:

 ${LN} -sf ../lib/${lib}.0 ${STAGEDIR}${PREFIX}/lib/${lib}

instead of

 ${LN} -sf lib/${lib}.0 ${STAGEDIR}${PREFIX}/lib/${lib}

(see also the diff leading up to the current Makefile: https://github.com/freebsd/freebsd-ports/commit/033141550fa4e5734b6a15723cbf5f16745b69f6 which also patches other ports in a similar way.  In the patch for qcad the '../' part is missing.)

Attached is a tentative patch.
Comment 1 commit-hook freebsd_committer freebsd_triage 2016-08-02 22:38:43 UTC
A commit references this bug:

Author: mr
Date: Tue Aug  2 22:38:01 UTC 2016
New revision: 419495
URL: https://svnweb.freebsd.org/changeset/ports/419495

Log:
  Try to fix shared library links.
  While there update to version 3.15.4

  PR:		211459
  Reported by:	roklein@roklein.de

Changes:
  head/cad/qcad/Makefile
  head/cad/qcad/distinfo
  head/cad/qcad/pkg-plist
Comment 2 Michael Reifenberger freebsd_committer freebsd_triage 2016-08-02 22:43:03 UTC
Hi,
committed as r419495.

Thanks!

Greetings
---
mike