From: Justin moore <silve...@gmail.com>
To: voidlinux@googlegroups.com
Subject: Re: pianobar fails to build without a build function
Date: Mon, 2 Feb 2015 15:50:05 -0800 (PST) [thread overview]
Message-ID: <a24846bf-de5b-46c5-aef9-7d2e6bdf2113@googlegroups.com> (raw)
In-Reply-To: <adea596c-d2e4-4a28-a354-f01b1a904ccb@googlegroups.com>
[-- Attachment #1.1: Type: text/plain, Size: 917 bytes --]
I must have copied the wrong template. The correct one has ffmpeg-devel and
terminates makedepends properly. I've added a do_build function with the
cflags your specified, and removed the wrksrc directory. Everything is fine
now, thanks.
new template <http://pastebin.com/uvAi8uwT>
On Monday, February 2, 2015 at 6:47:21 AM UTC-6, Stefan Mühlinghaus wrote:
>
> Several points I noticed:
>
> 1. The wrksrc-line is unneccessary, that is the default
> 2. The makedepends-line is not terminated correctly and it is missing
> the "ffmpeg-devel" package
> 3. Build in the do_build() function, not in pre_build()
> 4. Usually, calling make yourself like this is unneccessary. It is
> done automatically by setting the build_style to gnu-make. However, it
> won't compile like this without a little help:
>
>
> do_build() {
> CFLAGS="-O2 -std=c99" make
> }
>
[-- Attachment #1.2: Type: text/html, Size: 1550 bytes --]
next prev parent reply other threads:[~2015-02-02 23:50 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-02-02 9:45 Justin moore
2015-02-02 12:47 ` Stefan Mühlinghaus
2015-02-02 23:50 ` Justin moore [this message]
2015-02-03 10:20 ` Juan RP
2015-02-04 7:45 ` Justin moore
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=a24846bf-de5b-46c5-aef9-7d2e6bdf2113@googlegroups.com \
--to="silve..."@gmail.com \
--cc=voidlinux@googlegroups.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).