/[gentoo-alt]/trunk/eclass/bsdmk.eclass
Gentoo

Diff of /trunk/eclass/bsdmk.eclass

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

Revision 766 Revision 767
3# $Header$ 3# $Header$
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 7
8inherit toolchain-funcs 8inherit toolchain-funcs portability
9 9
10ECLASS=bsdmk
11INHERITED="$INHERITED $ECLASS"
12EXPORT_FUNCTIONS src_compile src_install 10EXPORT_FUNCTIONS src_compile src_install
13 11
14# this should actually be BDEPEND, but this works. 12# this should actually be BDEPEND, but this works.
15DEPEND="!userland_BSD? ( sys-devel/pmake )" 13DEPEND="!userland_BSD? ( sys-devel/pmake )"
16
17get_bmake() {
18 if [[ ${USERLAND} == "BSD" ]]; then
19 echo make
20 elif [[ ${USERLAND} == "Darwin" ]]; then
21 echo bsdmake
22 else
23 echo pmake
24 fi
25}
26 14
27#### mkmake <options> 15#### mkmake <options>
28# calls bsd-make command with the given options, passing ${mymakeopts} to 16# calls bsd-make command with the given options, passing ${mymakeopts} to
29# enable ports to useflags bridge. 17# enable ports to useflags bridge.
30# 18#

Legend:
Removed from v.766  
changed lines
  Added in v.767

  ViewVC Help
Powered by ViewVC 1.1.20