Bug 199121 - [PATCH] Fix for lang/luajit pc file.
Summary: [PATCH] Fix for lang/luajit pc file.
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Sergey A. Osokin
URL:
Keywords: patch
Depends on:
Blocks:
 
Reported: 2015-04-02 19:48 UTC by Gleb Popov
Modified: 2015-05-02 17:18 UTC (History)
0 users

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


Attachments
Patch. (277 bytes, patch)
2015-04-02 19:48 UTC, Gleb Popov
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Gleb Popov freebsd_committer freebsd_triage 2015-04-02 19:48:41 UTC
Created attachment 155128 [details]
Patch.

etc/luajit.pc file in the lang/luajit port contains "-ldl", which is not present on FreeBSD. dl* functions are located in libc itself, and this flags breaks linking with luajit.so when using pkg-config.

Attached path is ready to be included in port's files/ dir.
Comment 1 Sergey A. Osokin freebsd_committer freebsd_triage 2015-05-02 17:18:22 UTC
Committed, thanks.
Comment 2 commit-hook freebsd_committer freebsd_triage 2015-05-02 17:18:27 UTC
A commit references this bug:

Author: osa
Date: Sat May  2 17:18:03 UTC 2015
New revision: 385199
URL: https://svnweb.freebsd.org/changeset/ports/385199

Log:
  Fix luajit.pc file.

  PR:	199121

Changes:
  head/lang/luajit/Makefile
  head/lang/luajit/files/patch-etc_luajit.pc