Bug 248776 - irc/znc-push: update to g5f95488 and fix builx with CURL option ON
Summary: irc/znc-push: update to g5f95488 and fix builx with CURL option ON
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: Fernando Apesteguía
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-08-20 11:07 UTC by Daniel
Modified: 2020-08-20 18:13 UTC (History)
2 users (show)

See Also:
dor.bsd: maintainer-feedback+


Attachments
irc/znc-push: Fix CURL option and update (1.22 KB, patch)
2020-08-20 17:15 UTC, David O'Rourke
dor.bsd: maintainer-approval+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel 2020-08-20 11:07:31 UTC
This Port currently does not build when Option "CURL" is selected.
Fails with: 

    /usr/bin/c++ -O2 -pipe -fstack-protector-strong -fno-strict-aliasing   -DPUSHVERSION="\"1.0.0.167\"" -DUSE_CURL -lcurl  -fstack-protector-strong  CMakeFiles/cmTC_2218a.dir/testCXXCompiler.cxx.o -o cmTC_2218a
    ld: error: unable to find library -lcurl
Comment 1 Daniel 2020-08-20 11:13:44 UTC
-L/usr/local/lib is Missing as argument in the Makefile, i guess
Comment 2 David O'Rourke 2020-08-20 16:17:04 UTC
Thanks for the report. I'm looking at fixing this now.
Comment 3 David O'Rourke 2020-08-20 17:15:46 UTC
Created attachment 217390 [details]
irc/znc-push: Fix CURL option and update

This patch fixes the CURL option by adding `localbase:ldflags` to `USES`, and updates the port to the latest available upstream code, 1.0.0-167-g5f95488.
Comment 4 commit-hook freebsd_committer 2020-08-20 18:13:27 UTC
A commit references this bug:

Author: fernape
Date: Thu Aug 20 18:13:14 UTC 2020
New revision: 545544
URL: https://svnweb.freebsd.org/changeset/ports/545544

Log:
  irc/znc-push: update to g5f95488

  Also fix build with CURL option ON

  PR:	248776
  Submitted by:   dor.bsd@xm0.uk (maintainer)
  Reported by:    d.stoye@cms.hu-berlin.de

Changes:
  head/irc/znc-push/Makefile
  head/irc/znc-push/distinfo
Comment 5 Fernando Apesteguía freebsd_committer 2020-08-20 18:13:44 UTC
Committed,

Thanks!