Bug 199121

Summary: [PATCH] Fix for lang/luajit pc file.
Product: Ports & Packages Reporter: Gleb Popov <arrowd>
Component: Individual Port(s)Assignee: Sergey A. Osokin <osa>
Status: Closed FIXED    
Severity: Affects Only Me Keywords: patch
Priority: --- Flags: bugzilla: maintainer-feedback? (osa)
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
Patch. none

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