From mboxrd@z Thu Jan 1 00:00:00 1970 X-Received: by 10.66.221.5 with SMTP id qa5mr301282pac.16.1422921006104; Mon, 02 Feb 2015 15:50:06 -0800 (PST) X-BeenThere: voidlinux@googlegroups.com Received: by 10.182.49.168 with SMTP id v8ls1076713obn.93.gmail; Mon, 02 Feb 2015 15:50:05 -0800 (PST) X-Received: by 10.182.148.36 with SMTP id tp4mr134209obb.39.1422921005895; Mon, 02 Feb 2015 15:50:05 -0800 (PST) Date: Mon, 2 Feb 2015 15:50:05 -0800 (PST) From: Justin moore To: voidlinux@googlegroups.com Message-Id: In-Reply-To: References: <7b43a249-f643-4ee2-9b39-bef3130c1220@googlegroups.com> Subject: Re: pianobar fails to build without a build function MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_665_891951681.1422921005425" ------=_Part_665_891951681.1422921005425 Content-Type: multipart/alternative; boundary="----=_Part_666_1596046507.1422921005425" ------=_Part_666_1596046507.1422921005425 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable I must have copied the wrong template. The correct one has ffmpeg-devel and= =20 terminates makedepends properly. I've added a do_build function with the=20 cflags your specified, and removed the wrksrc directory. Everything is fine= =20 now, thanks. new template On Monday, February 2, 2015 at 6:47:21 AM UTC-6, Stefan M=C3=BChlinghaus wr= ote: > > 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= =20 > 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=20 > done automatically by setting the build_style to gnu-make. However, it= =20 > won't compile like this without a little help: > =20 > > do_build() { > CFLAGS=3D"-O2 -std=3Dc99" make > } > ------=_Part_666_1596046507.1422921005425 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable
I must have copied the wrong template. The correct one has= ffmpeg-devel and terminates makedepends properly. I've added a do_build fu= nction with the cflags your specified, and removed the wrksrc directory. Ev= erything is fine now, thanks.

new template

On Monday, February 2, 2015 at 6:47:21 AM UTC-6,= Stefan M=C3=BChlinghaus wrote:
Several points I noticed:
  1. The wrksrc-line is = unneccessary, that is the default
  2. The makedepends-line is not t= erminated 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() {
      &n= bsp; CFLAGS
=3D"-O2 -std=3Dc99" make
}
------=_Part_666_1596046507.1422921005425-- ------=_Part_665_891951681.1422921005425--