Opened 9 years ago

Closed 8 years ago

Last modified 8 years ago

#48754 closed submission (fixed)

New port for newsbeuter

Reported by: Raimondi (Israel Chauca Fuentes) Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.3.3
Keywords: maintainer haspatch Cc:
Port: newsbeuter

Description

Newsbeuter is a terminal based newsfeed reader.

Attachments (1)

Portfile (1.2 KB) - added by Raimondi (Israel Chauca Fuentes) 8 years ago.
Newsbeuter portfile

Download all attachments as: .zip

Change History (7)

Changed 8 years ago by Raimondi (Israel Chauca Fuentes)

Attachment: Portfile added

Newsbeuter portfile

comment:1 Changed 8 years ago by neverpanic (Clemens Lang)

Resolution: fixed
Status: newclosed

Committed in r150971 with the following changes:

  • Added missing json-c dependency identified by trace mode
  • Fixed build environment to make sure it is UsingTheRightCompiler
  • Added use of [get_canonical_archflags] to ensure the port builds for the architecture we expect it to (this probably fixes the universal variant, even though I didn't try that)
  • Fixed incorrect values of $prefix in the build phase and removed the unnecessary destroot workaround; the Makefile supports $DESTDIR.

Do you not want to maintain this port?

comment:2 Changed 8 years ago by Raimondi (Israel Chauca Fuentes)

Yes, I'd like to maintain it.

It's weird, I remember it not working without $(destroot) in prefix.

comment:3 Changed 8 years ago by bernicecarisa@…

Setting the CC, CXX and CPP environment variables at configure time is all that most software needs in order to use the compiler we want. But some ports have unusual configure scripts that don't obey these settings, and some ports don't have a configure script at all. For such ports, it can be necessary to set the variables at build time:

build.args-append

CC=${configure.cc} \

CXX=${configure.cxx} \ CPP=${configure.cpp}

Unless you look closely at the build output in debug mode, it can be hard to know whether a port is using ${configure.cc} as it should. Here is one way to make it obvious:

Create a directory /opt/local/bin/no_default_gcc Create a script in that directory called "cc" that always prints an error message Create symlinks "c++", "cpp", "g++", and "gcc", all pointing to the "cc" script Edit the value of "binpath" in /opt/local/etc/macports/macports.conf so that it begins with "/opt/local/bin/no_default_gcc:"

Last edited 8 years ago by bernicecarisa@… (previous) (diff)

comment:4 Changed 8 years ago by neverpanic (Clemens Lang)

Since you want to maintain it, should I add your email address in domain.tld:localpart form to the maintainer line of the Portfile? Do you want me to also add openmaintainer as explained in https://guide.macports.org/#project.update-policies.nonmaintainer?

comment:5 Changed 8 years ago by Raimondi (Israel Chauca Fuentes)

Yes, please add my obfuscated email and openmaintainer.

comment:6 Changed 8 years ago by neverpanic (Clemens Lang)

Keywords: maintainer haspatch added

Committed in r150993.

Note: See TracTickets for help on using tickets.