Annotation of /trunk/extras/openldap/openldap-2.4.16-r1.smage2
Parent Directory | Revision Log
Revision 1837 -
(hide annotations)
(download)
Sat Jun 6 19:43:12 2009 UTC (15 years, 3 months ago) by niro
File size: 973 byte(s)
Sat Jun 6 19:43:12 2009 UTC (15 years, 3 months ago) by niro
File size: 973 byte(s)
-added -D_GNU_SOURCE to CFLAGS to fixe a >=glibc-2.8 bug
1 | niro | 1836 | # $Id$ |
2 | |||
3 | PNAME="openldap" | ||
4 | PVER="2.4.16" | ||
5 | PBUILD="r1" | ||
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.7 | ||
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 | niro | 1837 | 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 || die | ||
41 | mmake || die | ||
42 | } |
Properties
Name | Value |
---|---|
svn:keywords | Id |