/[gentoo-x86]/eclass/bsdmk.eclass
Gentoo

Diff of /eclass/bsdmk.eclass

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

Revision 1.5 Revision 1.7
1# Copyright 1999-2004 Gentoo Foundation 1# Copyright 1999-2004 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/eclass/bsdmk.eclass,v 1.5 2006/04/25 16:35:47 flameeyes Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/bsdmk.eclass,v 1.7 2006/12/01 02:58:32 flameeyes Exp $
4# 4#
5# Otavio R. Piske "AngusYoung" <angusyoung@gentoo.org> 5# Otavio R. Piske "AngusYoung" <angusyoung@gentoo.org>
6# Diego Pettenò <flameeyes@gentoo.org> 6# Diego Pettenò <flameeyes@gentoo.org>
7# Benigno B. Junior <bbj@gentoo.org> 7# Benigno B. Junior <bbj@gentoo.org>
8 8
32mkmake() { 32mkmake() {
33 [[ -z ${BMAKE} ]] && BMAKE="$(get_bmake)" 33 [[ -z ${BMAKE} ]] && BMAKE="$(get_bmake)"
34 34
35 tc-export CC CXX LD RANLIB 35 tc-export CC CXX LD RANLIB
36 36
37 ${BMAKE} ${MAKEOPTS} ${EXTRA_EMAKE} ${mymakeopts} NO_WERROR= "$@" 37 ${BMAKE} ${MAKEOPTS} ${EXTRA_EMAKE} ${mymakeopts} NO_WERROR= STRIP= "$@"
38} 38}
39 39
40mkinstall() { 40mkinstall() {
41 [[ -z ${BMAKE} ]] && BMAKE="$(get_bmake)" 41 [[ -z ${BMAKE} ]] && BMAKE="$(get_bmake)"
42 42
43 # STRIP= will replace the default value of -s, leaving to portage the
44 # task of stripping executables.
43 ${BMAKE} ${mymakeopts} NO_WERROR= DESTDIR="${D}" "$@" install 45 ${BMAKE} ${mymakeopts} NO_WERROR= STRIP= MANSUBDIR= DESTDIR="${D}" "$@" install
44} 46}
45 47
46#### dummy_mk <dirnames> 48#### dummy_mk <dirnames>
47# removes the specified subdirectories and creates a dummy makefile in them 49# removes the specified subdirectories and creates a dummy makefile in them
48# useful to remove the need for "minimal" patches 50# useful to remove the need for "minimal" patches

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.7

  ViewVC Help
Powered by ViewVC 1.1.20