Void Linux discussion
 help / color / mirror / Atom feed
From: "Stefan Mühlinghaus" <"master..."@googlemail.com>
To: voidlinux@googlegroups.com
Subject: Re: pianobar fails to build without a build function
Date: Mon, 2 Feb 2015 04:47:21 -0800 (PST)	[thread overview]
Message-ID: <adea596c-d2e4-4a28-a354-f01b1a904ccb@googlegroups.com> (raw)
In-Reply-To: <7b43a249-f643-4ee2-9b39-bef3130c1220@googlegroups.com>


[-- Attachment #1.1: Type: text/plain, Size: 514 bytes --]

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: 1351 bytes --]

  reply	other threads:[~2015-02-02 12:47 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 [this message]
2015-02-02 23:50   ` Justin moore
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=adea596c-d2e4-4a28-a354-f01b1a904ccb@googlegroups.com \
    --to="master..."@googlemail.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).