Bug 198513

Summary: databases/hiredis: pkg-config --libs hiredis returns bad flags
Product: Ports & Packages Reporter: geoffroy desvernay <dgeo>
Component: Individual Port(s)Assignee: Pawel Pekala <pawel>
Status: Closed FIXED    
Severity: Affects Only Me CC: gblach, ler
Priority: --- Flags: bugzilla: maintainer-feedback? (pawel)
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
poudriere build log none

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.