Magellan Linux

Annotation of /trunk/core/m4/m4-1.4.18-r2.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 32900 - (hide annotations) (download)
Thu May 2 13:23:21 2019 UTC (5 years ago) by niro
File size: 817 byte(s)
-fixed issues with >=glibc-2.28
1 niro 32900 # $Id$
2    
3     PNAME="m4"
4     PVER="1.4.18"
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}-1.4.18-glibc-change-work-around.patch
24     )
25    
26     UP2DATE="updatecmd_gnu ${PNAME}"
27    
28     src_prepare()
29     {
30     munpack ${SRCFILE} || die
31     cd ${SRCDIR}
32    
33     # fix missing includes
34     mpatch ${PNAME}-1.4.14-fix-includes.patch || die
35    
36     # work arround issues with >=glibc-2.28
37     mpatch ${PNAME}-1.4.18-glibc-change-work-around.patch || die
38     }
39    
40    
41     src_compile()
42     {
43     cd ${SRCDIR}
44    
45     mconfigure --enable-changeword || die
46     mmake || die
47     }