summaryrefslogtreecommitdiff
path: root/dev-ml
diff options
context:
space:
mode:
authorMaik Schreiber <blizzy@gentoo.org>2002-11-18 06:49:54 +0000
committerMaik Schreiber <blizzy@gentoo.org>2002-11-18 06:49:54 +0000
commit9d2dcc23078500fa444a6c3c9adb251bad110bf6 (patch)
tree8d0e5dbd765af734e4ed9a16e2d249fd483ee39f /dev-ml
parentrev bump (diff)
downloadgentoo-2-9d2dcc23078500fa444a6c3c9adb251bad110bf6.tar.gz
gentoo-2-9d2dcc23078500fa444a6c3c9adb251bad110bf6.tar.bz2
gentoo-2-9d2dcc23078500fa444a6c3c9adb251bad110bf6.zip
(multiple) removed quite some crap:
- "boxes" done with "*****", "#####", "=====" or "-----" - checking for user accounts with weird awk stuff instead of using id - empty lines at beginning or end of functions - whole "novels" of instructions in pkg_postinst()
Diffstat (limited to 'dev-ml')
-rw-r--r--dev-ml/lablgl/lablgl-0.98.ebuild24
1 files changed, 8 insertions, 16 deletions
diff --git a/dev-ml/lablgl/lablgl-0.98.ebuild b/dev-ml/lablgl/lablgl-0.98.ebuild
index 9aaae0690ae6..e73345aff706 100644
--- a/dev-ml/lablgl/lablgl-0.98.ebuild
+++ b/dev-ml/lablgl/lablgl-0.98.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ml/lablgl/lablgl-0.98.ebuild,v 1.5 2002/10/25 20:02:02 george Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ml/lablgl/lablgl-0.98.ebuild,v 1.6 2002/11/18 06:49:54 blizzy Exp $
IUSE="opengl"
@@ -25,19 +25,13 @@ pkg_setup() {
#need to do some checks and correct situation as if necessary
if ( ! which labltk && which ocaml ) || ! ( which labltk && which ocaml || use tcltk ); then
- einfo "#######################################################"
- einfo ""
- einfo "ebuild detected that you have ocaml compiled without tk support "
- einfo "or you do not have ocaml installed and tcltk USE flag is not defined"
- einfo ""
- einfo "lablgl requires ocaml built with tk support!!! "
- einfo ""
- einfo "Please make sure that ocaml is emerged with tk support: "
- einfo 'USE="tcltk" emerge ocaml'
- einfo "or even better add tcltk to you USE definition in make.conf"
- einfo "and [re-]build ocaml with new dependency"
- einfo ""
- einfo "#######################################################"
+ eerror "It seems you don't have ocaml compiled with tk support"
+ eerror "or you don't have ocaml installed and tcltk USE flag is"
+ eerror "not defined."
+ eerror ""
+ eerror "lablgl requires ocaml be built with tk support."
+ eerror ""
+ eerror "Please make sure that ocaml is installed with tk support."
false;
else
@@ -46,7 +40,6 @@ pkg_setup() {
}
src_unpack() {
-
unpack ${A}
# patch the makefile to include DESTDIR support
@@ -55,7 +48,6 @@ src_unpack() {
}
src_compile() {
-
# make configuration file
cp ${FILESDIR}/${Name}-${PV}-Makefile.config ${S}/Makefile.config || die