Summary: | audio/ncmpcpp: Update to 0.9.1 | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | yamagi | ||||||
Component: | Individual Port(s) | Assignee: | Rainer Hurling <rhurlin> | ||||||
Status: | Closed FIXED | ||||||||
Severity: | Affects Only Me | CC: | rhurlin | ||||||
Priority: | --- | Keywords: | buildisok | ||||||
Version: | Latest | ||||||||
Hardware: | Any | ||||||||
OS: | Any | ||||||||
Attachments: |
|
Description
yamagi
2021-01-20 07:17:44 UTC
Build and package info is available at https://gitlab.com/swills/freebsd-ports/pipelines/244175260 Created attachment 221783 [details]
patch with simpler LIB_DEPENDS and reorder Makefile vars
Moin Yamagi,
Thanks for your patch!
I think, there is no reason to add devel/icu twice? Based on your patch, I have created a new one with only single mention of icu.
While here, I also reordered some Makefile vars as suggested by portclippy.
If this is ok for you, I would commit it like this?
Moin Moin Rainer, looks like my porting skills are rusty. :) Adding devel/icu only once is of course correct. And if portclippy is happy, we are too. I gave your updated patch a try, it still builds fine and the resulting binary is working without problems. I'm fine with it, go ahead and commit it. Thank you! (In reply to yamagi from comment #3) Moin yamagi, I just opened a review on Phabricator [1], now we have to wait for approval from my mentors :) [1] https://reviews.freebsd.org/D28276 Gleb, one of my mentors, just asked in the review about the '-L' in the context of CFLAGS:
> Makefile:24
> +GNU_CONFIGURE= yes
> +CONFIGURE_ENV= ncursesw_CFLAGS="-L${NCURSESLIB}" ncursesw_LIBS="-lncursesw"
>
arrowd@: "Hmm, `-L` flags are usually passed to `LDFLAGS`. Doesn't it work that way?"
Do we really need it this way?
ncursesw_CFLAGS was added in r525972 to support base curses. If -L${NCURSESLIB} is passed in LDFLAGS and not in CFLAGS the crappy configure script tries to locate libcursesw through pkgconf, the base ncurses doesn't include the required ncursesw.pc description file. A commit references this bug: Author: rhurlin Date: Fri Jan 22 10:22:32 UTC 2021 New revision: 562292 URL: https://svnweb.freebsd.org/changeset/ports/562292 Log: audio/ncmpcpp: Update to 0.9.1 Changelog: https://rybczak.net/ncmpcpp/ PR: 252847 Submitted by: yamagi@yamagi.org (maintainer) Approved by: arrowd (mentor) Differential Revision: https://reviews.freebsd.org/D28276 Changes: head/audio/ncmpcpp/Makefile head/audio/ncmpcpp/distinfo head/audio/ncmpcpp/files/patch-src_screens_visualizer.cpp head/audio/ncmpcpp/files/patch-src_status.cpp head/audio/ncmpcpp/pkg-descr Committed, thanks and thanks for the hint with r525972 :) |