Magellan Linux

Annotation of /branches/R11-unstable/extras/aspell/aspell-0.60.6.1-r5.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 30119 - (hide annotations) (download)
Fri Oct 27 08:15:19 2017 UTC (6 years, 6 months ago) by niro
Original Path: trunk/extras/aspell/aspell-0.60.6.1-r5.smage2
File size: 813 byte(s)
-fix ftbfs with gcc7
1 niro 30118 # $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 niro 30119 mirror://${PNAME}/${PNAME}-${PVER}-gcc7-fixes.patch
24 niro 30118 )
25    
26     UP2DATE="updatecmd_gnu ${PNAME} gz"
27    
28 niro 30119 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 niro 30118 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     }