Contents of /trunk/extras/aspell/aspell-0.60.6.1-r5.smage2
Parent Directory | Revision Log
Revision 30119 -
(show annotations)
(download)
Fri Oct 27 08:15:19 2017 UTC (6 years, 11 months ago) by niro
File size: 813 byte(s)
Fri Oct 27 08:15:19 2017 UTC (6 years, 11 months ago) by niro
File size: 813 byte(s)
-fix ftbfs with gcc7
1 | # $Id$ |
2 | |
3 | PNAME="aspell" |
4 | PVER="0.60.6.1" |
5 | PBUILD="r5" |
6 | |
7 | PCAT="app-text" |
8 | |
9 | DESCRIPTION="GNU Aspell is a Free and Open Source spell checker designed to eventually replace Ispell." |
10 | HOMEPAGE="http://aspell.sourceforge.net/" |
11 | |
12 | DEPEND=">= sys-libs/ncurses-6.0 |
13 | >= sys-libs/libstdc++-6.3" |
14 | |
15 | SRCFILE="${PNAME}-${PVER}.tar.gz" |
16 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" |
17 | |
18 | sminclude mbuild |
19 | |
20 | SRC_URI=( |
21 | gnu://${PNAME}/${SRCFILE} |
22 | mirror://${PNAME}/${SRCFILE} |
23 | mirror://${PNAME}/${PNAME}-${PVER}-gcc7-fixes.patch |
24 | ) |
25 | |
26 | UP2DATE="updatecmd_gnu ${PNAME} gz" |
27 | |
28 | src_prepare() |
29 | { |
30 | munpack ${SRCFILE} || die |
31 | cd ${SRCDIR} |
32 | |
33 | # fix ftbfs with gcc7 |
34 | mpatch ${PNAME}-${PVER}-gcc7-fixes.patch || die |
35 | } |
36 | |
37 | src_compile() |
38 | { |
39 | cd ${SRCDIR} |
40 | |
41 | mconfigure \ |
42 | --sysconfdir=/etc/aspell \ |
43 | --enable-docdir=/usr/share/doc/${PNAME}-${PVER} \ |
44 | || die |
45 | |
46 | mmake || die |
47 | } |