Magellan Linux

Annotation of /branches/R11-stable/core/m4/m4-1.4.16-r2.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 12932 - (hide annotations) (download)
Tue Aug 14 08:03:00 2012 UTC (11 years, 10 months ago) by niro
Original Path: trunk/core/m4/m4-1.4.16-r2.smage2
File size: 924 byte(s)
auto added: ver bump to 1.4.16-r2
1 niro 12932 # $Id$
2    
3     PNAME="m4"
4     PVER="1.4.16"
5     PBUILD="r2"
6    
7     PCAT="sys-dev"
8    
9     DESCRIPTION="GNU macro processor."
10     HOMEPAGE="http://www.gnu.org/software/m4/m4.html"
11    
12     DEPEND=">= virtual/glibc"
13    
14     SRCFILE="${PNAME}-${PVER}.tar.bz2"
15     SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
16    
17     sminclude mbuild
18    
19     SRC_URI=(
20     gnu://${PNAME}/${SRCFILE}
21     mirror://${PNAME}/${SRCFILE}
22     mirror://${PNAME}/${PNAME}-1.4.14-fix-includes.patch
23     mirror://${PNAME}/${PNAME}-${PVER}-readlink-einval.patch
24     mirror://${PNAME}/${PNAME}-${PVER}-gnulib-gets.patch
25     )
26    
27     UP2DATE="updatecmd_gnu ${PNAME}"
28    
29     src_prepare()
30     {
31     munpack ${SRCFILE} || die
32     cd ${SRCDIR}
33    
34     # fix missing includes
35     mpatch ${PNAME}-1.4.14-fix-includes.patch || die
36    
37     # fix src_check
38     mpatch ${PNAME}-${PVER}-readlink-einval.patch || die
39    
40     # fix ftbfs against newer glibc (>=2.16)
41     mpatch ${PNAME}-${PVER}-gnulib-gets.patch || die
42     }
43    
44    
45     src_compile()
46     {
47     cd ${SRCDIR}
48    
49     mconfigure --enable-changeword || die
50     mmake || die
51     }