Bug 198513 - databases/hiredis: pkg-config --libs hiredis returns bad flags
Summary: databases/hiredis: pkg-config --libs hiredis returns bad flags
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: Pawel Pekala
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-03-11 09:49 UTC by geoffroy desvernay
Modified: 2015-03-13 20:50 UTC (History)
2 users (show)

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


Attachments
poudriere build log (244.52 KB, text/plain)
2015-03-11 09:49 UTC, geoffroy desvernay
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description geoffroy desvernay 2015-03-11 09:49:37 UTC
Created attachment 154190 [details]
poudriere build log

When selecting 'REDIS' option, build fails with error: 

libtool: link: require no space between `-L' and `-lhiredis'

poudriere log attached

(FreeBSD 9.x amd64)
Comment 1 Pawel Pekala freebsd_committer freebsd_triage 2015-03-13 15:55:59 UTC
This is bug in databases/hiredis, on my system pkg-conf returns
wrong linker flags:

> pkg-config --libs hiredis
-L -lhiredis
Comment 2 commit-hook freebsd_committer freebsd_triage 2015-03-13 20:50:00 UTC
A commit references this bug:

Author: gblach
Date: Fri Mar 13 20:49:11 UTC 2015
New revision: 381232
URL: https://svnweb.freebsd.org/changeset/ports/381232

Log:
  Fix pkgconf file

  PR:		198513
  Obtained from:	github.com/redis/hiredis

Changes:
  head/databases/hiredis/Makefile
  head/databases/hiredis/files/
  head/databases/hiredis/files/patch-Makefile
Comment 3 Grzegorz Blach freebsd_committer freebsd_triage 2015-03-13 20:50:17 UTC
Fixed, thanks.