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

Diff of /eclass/bsdmk.eclass

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

Revision 1.7 Revision 1.8
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.7 2006/12/01 02:58:32 flameeyes Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/bsdmk.eclass,v 1.8 2007/07/23 05:19:00 vapier 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
54 for dir in $@; do 54 for dir in $@; do
55 echo ".include <bsd.lib.mk>" > ${dir}/Makefile 55 echo ".include <bsd.lib.mk>" > ${dir}/Makefile
56 done 56 done
57} 57}
58 58
59#### fix_lazy_bindings <dirnames>
60# set LDFLAGS in order to fix lazy binding warnings in binaries
61#
62############################################################################
63fix_lazy_bindings() {
64 for dir in $@; do
65 echo "LDFLAGS+= $(bindnow-flags)" >> ${dir}/Makefile
66 done
67}
68
69bsdmk_src_compile() { 59bsdmk_src_compile() {
70 mkmake || die "make failed" 60 mkmake || die "make failed"
71} 61}
72 62
73bsdmk_src_install() { 63bsdmk_src_install() {

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

  ViewVC Help
Powered by ViewVC 1.1.20