Annotation of /trunk/core/fam/fam-2.7.0-r10.smage2
Parent Directory | Revision Log
Revision 1532 -
(hide annotations)
(download)
Sun May 10 21:48:23 2009 UTC (15 years ago) by niro
File size: 1395 byte(s)
Sun May 10 21:48:23 2009 UTC (15 years ago) by niro
File size: 1395 byte(s)
-added patch to fix compilation with gcc-4.3
1 | niro | 1530 | # $Id$ |
2 | |||
3 | PNAME="fam" | ||
4 | PVER="2.7.0" | ||
5 | PBUILD="r10" | ||
6 | |||
7 | PCATEGORIE="app-admin" | ||
8 | STATE="unstable" | ||
9 | |||
10 | DESCRIPTION="The File Alteration Monitor provides an API that applications can use to be notified when specific files or directories are changed." | ||
11 | HOMEPAGE="http://oss.sgi.com/projects/fam/" | ||
12 | |||
13 | DEPEND=">= net-nds/portmap-5b" | ||
14 | |||
15 | SDEPEND=">= sys-dev/automake-3 | ||
16 | >= sys-dev/autoconf-4 | ||
17 | >= dev-lang/perl-5" | ||
18 | |||
19 | SRCFILE="${PNAME}-${PVER}.tar.gz" | ||
20 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" | ||
21 | |||
22 | sminclude mbuild | ||
23 | |||
24 | SRC_URI=( | ||
25 | ftp://oss.sgi.com/projects/${PNAME}/download/stable/${SRCFILE} | ||
26 | mirror://${PNAME}/${SRCFILE} | ||
27 | mirror://${PNAME}/${PNAME}-${PVER}-largefiles.patch | ||
28 | mirror://${PNAME}/${PNAME}-${PVER}-dnotify.patch | ||
29 | mirror://${PNAME}/${PNAME}-${PVER}-limits.patch | ||
30 | mirror://${PNAME}/${PNAME}-${PVER}-gcc41.patch | ||
31 | niro | 1532 | mirror://${PNAME}/${PNAME}-${PVER}-gcc43.patch |
32 | niro | 1530 | ) |
33 | |||
34 | # fake it | ||
35 | UP2DATE="echo ${PVER}" | ||
36 | |||
37 | src_prepare() | ||
38 | { | ||
39 | munpack ${SRCFILE} || die | ||
40 | cd ${SRCDIR} | ||
41 | |||
42 | # large file support | ||
43 | mpatch ${PNAME}-${PVER}-largefiles.patch || die | ||
44 | |||
45 | # enable dnotify | ||
46 | mpatch ${PNAME}-${PVER}-dnotify.patch || die | ||
47 | |||
48 | # fix includes | ||
49 | mpatch ${PNAME}-${PVER}-limits.patch || die | ||
50 | |||
51 | # fix gcc 4.1 issues | ||
52 | mpatch ${PNAME}-${PVER}-gcc41.patch || die | ||
53 | |||
54 | niro | 1532 | # fix gcc 4.3 issues |
55 | mpatch ${PNAME}-${PVER}-gcc43.patch || die | ||
56 | |||
57 | niro | 1530 | # listen only to local networks |
58 | sed -i "s:^\(local_only =\).*:\1 true:g" conf/fam.conf || die | ||
59 | |||
60 | autoreconf --install --force || die | ||
61 | } |
Properties
Name | Value |
---|---|
svn:keywords | Id |