Bug 264812

Summary: New port: audio/cmusfm: Standalone last.fm and libre.fm scrobbler for cmus
Product: Ports & Packages Reporter: diego <teru-sama>
Component: Individual Port(s)Assignee: Neel Chauhan <nc>
Status: In Progress ---    
Severity: Affects Only Me CC: nc, nivit
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
Patch for audio/cmusfm
none
Fix build with poudriere none

Description diego 2022-06-21 19:17:33 UTC
Created attachment 234844 [details]
Patch for audio/cmusfm

Last.fm and libre.fm standalone scrobbler for the cmus music player.
It has a small memory footprint and has off-line played track cache
for later submission.
Comment 1 Neel Chauhan freebsd_committer freebsd_triage 2022-06-21 20:59:48 UTC
A few comments:

 * USE_GITHUB= is defined twice

 * Your port does not build in poudriere. I get this error:

===>   cmusfm-0.4.1 depends on package: autoconf>=2.71 - found
===>   cmusfm-0.4.1 depends on package: automake>=1.16.5 - found
===>   cmusfm-0.4.1 depends on shared library: libcurl.so - found (/usr/local/lib/libcurl.so)
===>  Configuring for cmusfm-0.4.1
configure.ac:28: error: possibly undefined macro: AC_DEFINE
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
configure.ac:31: error: possibly undefined macro: AC_CHECK_HEADERS
autoreconf2.71: error: /usr/local/bin/autoconf2.71 failed with exit status: 1
===>  Mk/Uses/autoreconf.mk: Error running /usr/local/bin/autoreconf2.71
*** Error code 1

Stop.

It seems autoreconf is not properly used in this port.
Comment 2 Nicola Vitale freebsd_committer freebsd_triage 2023-03-04 09:05:02 UTC
Created attachment 240580 [details]
Fix build with poudriere

pkgconfig and ssl are requirements.
Comment 3 Nicola Vitale freebsd_committer freebsd_triage 2023-03-04 09:07:10 UTC
Comment on attachment 240580 [details]
Fix build with poudriere

I added PLIST_FILES, so pkg-plist is useless.