Magellan Linux

Contents of /smage/trunk/core/bison/bison-2.5-r2.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3644 - (show annotations) (download)
Fri Jul 13 14:59:26 2012 UTC (11 years, 11 months ago) by niro
File size: 642 byte(s)
-added patch fix ftbfs against newer glibc
1 # $Id$
2
3 PNAME="bison"
4 PVER="2.5"
5 PBUILD="r2"
6
7 PCAT="sys-dev"
8
9 DESCRIPTION="A yacc-compatible parser generator."
10 HOMEPAGE="http://www.gnu.org/software/bison/bison.html"
11
12 DEPEND=">= sys-dev/m4-1.4
13 >= sys-dev/gettext-0.18"
14
15 SRCFILE="${PNAME}-${PVER}.tar.bz2"
16 SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
17
18 sminclude mbuild
19
20 SRC_URI=(
21 http://ftp.gnu.org/pub/gnu/${PNAME}/${SRCFILE}
22 mirror://${PNAME}/${SRCFILE}
23 mirror://${PNAME}/${PNAME}-${PVER}-gnulib-gets.patch
24 )
25
26 UP2DATE="updatecmd_gnu ${PNAME}"
27
28 src_prepare()
29 {
30 munpack ${SRCFILE} || die
31 cd ${SRCDIR}
32
33 # fix ftbfs with newer glibc (>=2.16)
34 mpatch ${PNAME}-${PVER}-gnulib-gets.patch || die
35 }