Bug 162915 - [patch] graphics/glfw: unbreak build with clang
Summary: [patch] graphics/glfw: unbreak build with clang
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Martin Wilke
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-28 05:50 UTC by Jan Beich
Modified: 2011-12-29 16:00 UTC (History)
0 users

See Also:


Attachments
clang.diff (631 bytes, patch)
2011-11-28 05:50 UTC, Jan Beich
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Beich freebsd_committer freebsd_triage 2011-11-28 05:50:09 UTC
clang wants either -soname=libfoo.so.1 or -Wl,-soname,libfoo.so.1,
but not -soname libfoo.so.1.

How-To-Repeat: http://pointyhat-west.isc.freebsd.org/errorlogs/amd64-errorlogs/e.9-exp-clang.20111126065358.pointyhat-west/glfw-2.7.2.log

$ rm -f libfoo.so.1
$ clang -shared -soname libfoo.so.1 -o libfoo.so.1 /dev/null
clang: error: no such file or directory: 'libfoo.so.1'
Exit 1
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2011-11-28 05:50:34 UTC
Responsible Changed
From-To: freebsd-ports-bugs->miwi

miwi@ wants his PRs (via the GNATS Auto Assign Tool)
Comment 2 Martin Wilke freebsd_committer freebsd_triage 2011-12-29 15:54:00 UTC
State Changed
From-To: open->closed

Committed. Thanks!
Comment 3 dfilter service freebsd_committer freebsd_triage 2011-12-29 15:56:48 UTC
miwi        2011-12-29 15:53:51 UTC

  FreeBSD ports repository

  Modified files:
    graphics/glfw        Makefile 
  Log:
  - Fix build with clang
  
  PR:             162915
  Submitted by:   Jan Beich <jbeich@tormail.net>
  
  Revision  Changes    Path
  1.15      +1 -0      ports/graphics/glfw/Makefile
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"