Magellan Linux

Annotation of /branches/magellan-next/extras/openldap/openldap-2.4.19-r2.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 4064 - (hide annotations) (download)
Tue Nov 17 21:43:09 2009 UTC (14 years, 6 months ago) by niro
Original Path: trunk/extras/openldap/openldap-2.4.19-r2.smage2
File size: 1011 byte(s)
-fixed libexec dir
1 niro 4064 # $Id$
2    
3     PNAME="openldap"
4     PVER="2.4.19"
5     PBUILD="r2"
6    
7     PCATEGORIE="net-nds"
8     STATE="unstable"
9    
10     DESCRIPTION="OpenLDAP is an open source implementation of the Lightweight Directory Access Protocol."
11     HOMEPAGE="http://www.openldap.org/"
12    
13     DEPEND=">= dev-db/db-4.8
14     >= dev-libs/cyrus-sasl-2.1
15     >= dev-libs/openssl-0.9.8
16     >= sys-apps/tcp-wrappers-7"
17    
18     SRCFILE="${PNAME}-${PVER}.tgz"
19     SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
20    
21     sminclude mbuild
22    
23     SRC_URI=(
24     http://www.openldap.org/software/download/OpenLDAP/openldap-release/${SRCFILE}
25     mirror://${PNAME}/${SRCFILE}
26     )
27    
28     UP2DATE="updatecmd http://www.openldap.org/software/download/ | grep 'currently avail' | sed 's/.*OpenLDAP-\(.*\)\ is.*/\1/'"
29    
30     src_compile()
31     {
32     cd ${SRCDIR}
33    
34     # fixes a >=glibc-2.8 bug
35     # getpeereid.c: In function 'lutil_getpeereid':
36     # getpeereid.c:65: error: storage size of 'peercred' isn't known
37     export CFLAGS="${CFLAGS} -D_GNU_SOURCE"
38     export CXXFLAGS="${CXXFLAGS} -D_GNU_SOURCE"
39    
40     mconfigure --libexecdir=/usr/$(mlibdir)/${PNAME} || die
41     mmake || die
42     }

Properties

Name Value
svn:keywords Id