Magellan Linux

Annotation of /trunk/extras/libaio/libaio-0.3.111-r2.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 31268 - (hide annotations) (download)
Tue Jun 19 08:40:15 2018 UTC (5 years, 10 months ago) by niro
File size: 862 byte(s)
-fix stack-protector issues
1 niro 31266 # $Id$
2    
3     PNAME="libaio"
4     PVER="0.3.111"
5     PBUILD="r2"
6    
7     PCAT="dev-libs"
8    
9     DESCRIPTION="The Linux-native asynchronous I/O facility (aio) library."
10     HOMEPAGE="http://lse.sourceforge.net/io/aio.html"
11    
12     DEPEND=">= virtual/glibc"
13    
14     SRCFILE="${PNAME}_${PVER}.orig.tar.gz"
15     SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
16    
17     msetfeature "!check" # mount fails in test
18     sminclude multilib mbuild
19    
20     SRC_URI=(
21     http://ftp.de.debian.org/debian/pool/main/liba/${PNAME}/${SRCFILE}
22     mirror://${PNAME}/${SRCFILE}
23     )
24    
25     UP2SEPERATOR="_"
26     UP2DATE="updatecmd http://ftp.de.debian.org/debian/pool/main/liba/${PNAME}/ | sed 's:.orig::g' | highesttarball gz"
27    
28     src_compile()
29     {
30 niro 31268 # libaio is picky about used cflags and does not include stdlib to support stack-proctor
31     CFLAGS="${CFLAGS//-fstack-protector-strong} -fno-stack-protector"
32     mmake || die
33 niro 31266 }
34    
35     src_install()
36     {
37 niro 31268 mmake prefix=${BINDIR}/usr install || die
38 niro 31266 }