Annotation of /branches/magellan-next/core/m4/m4-1.4.14-r1.smage2
Parent Directory | Revision Log
Revision 5866 -
(hide annotations)
(download)
Tue Aug 17 13:47:41 2010 UTC (13 years, 9 months ago) by niro
File size: 717 byte(s)
Tue Aug 17 13:47:41 2010 UTC (13 years, 9 months ago) by niro
File size: 717 byte(s)
-fixed missing includes
1 | niro | 5864 | # $Id: m4-1.4.13-r2.smage2 3029 2009-10-07 17:12:25Z niro $ |
2 | |||
3 | PNAME="m4" | ||
4 | PVER="1.4.14" | ||
5 | PBUILD="r1" | ||
6 | |||
7 | PCATEGORIE="sys-dev" | ||
8 | STATE="unstable" | ||
9 | |||
10 | DESCRIPTION="GNU macro processor." | ||
11 | HOMEPAGE="http://www.gnu.org/software/m4/m4.html" | ||
12 | |||
13 | DEPEND=">= virtual/glibc" | ||
14 | |||
15 | SRCFILE="${PNAME}-${PVER}.tar.bz2" | ||
16 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" | ||
17 | |||
18 | sminclude mbuild | ||
19 | |||
20 | SRC_URI=( | ||
21 | gnu://${PNAME}/${SRCFILE} | ||
22 | mirror://${PNAME}/${SRCFILE} | ||
23 | niro | 5866 | mirror://${PNAME}/${PNAME}-${PVER}-fix-includes.patch |
24 | niro | 5864 | ) |
25 | |||
26 | UP2DATE="updatecmd_gnu ${PNAME}" | ||
27 | |||
28 | niro | 5866 | src_prepare() |
29 | { | ||
30 | munpack ${SRCFILE} || die | ||
31 | cd ${SRCDIR} | ||
32 | |||
33 | # fix missing includes | ||
34 | mpatch ${PNAME}-${PVER}-fix-includes.patch | ||
35 | } | ||
36 | |||
37 | niro | 5864 | src_compile() |
38 | { | ||
39 | cd ${SRCDIR} | ||
40 | |||
41 | mconfigure --enable-changeword || die | ||
42 | mmake || die | ||
43 | } |