/[gentoo-x86]/sys-apps/man-db/man-db-2.6.1.ebuild
Gentoo

Diff of /sys-apps/man-db/man-db-2.6.1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.3 Revision 1.4
1# Copyright 1999-2012 Gentoo Foundation 1# Copyright 1999-2012 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/sys-apps/man-db/man-db-2.6.1.ebuild,v 1.3 2012/05/24 03:07:45 vapier Exp $ 3# $Header: /var/cvsroot/gentoo-x86/sys-apps/man-db/man-db-2.6.1.ebuild,v 1.4 2012/07/24 15:59:12 vapier Exp $
4 4
5EAPI="4" 5EAPI="4"
6 6
7inherit eutils user 7inherit eutils user
8 8
30 # Create user now as Makefile in src_install does setuid/chown 30 # Create user now as Makefile in src_install does setuid/chown
31 enewgroup man 15 31 enewgroup man 15
32 enewuser man 13 -1 /usr/share/man man 32 enewuser man 13 -1 /usr/share/man man
33} 33}
34 34
35src_prepare() {
36 epatch "${FILESDIR}"/${PN}-2.6.1-no-gets.patch #427252
37}
38
35src_configure() { 39src_configure() {
36 export ac_cv_lib_z_gzopen=$(usex zlib) 40 export ac_cv_lib_z_gzopen=$(usex zlib)
37 econf \ 41 econf \
38 --with-sections="1 1p 8 2 3 3p 4 5 6 7 9 0p tcl n l p o 1x 2x 3x 4x 5x 6x 7x 8x" \ 42 --with-sections="1 1p 8 2 3 3p 4 5 6 7 9 0p tcl n l p o 1x 2x 3x 4x 5x 6x 7x 8x" \
39 $(use_enable nls) \ 43 $(use_enable nls) \
40 $(use_enable static-libs static) \ 44 $(use_enable static-libs static) \
41 --with-db=$(usex gdbm gdbm $(usex berkdb db gdbm)) 45 --with-db=$(usex gdbm gdbm $(usex berkdb db gdbm))
42} 46}
43 47
44src_install() { 48src_install() {
45 emake install DESTDIR="${D}" 49 default
46 dodoc README ChangeLog NEWS docs/{HACKING,TODO} 50 dodoc docs/{HACKING,TODO}
47 use static-libs || find "${D}"/usr/lib* -name '*.la' -delete 51 use static-libs || find "${ED}"/usr/ -name '*.la' -delete
48} 52}

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

  ViewVC Help
Powered by ViewVC 1.1.20