summaryrefslogtreecommitdiff
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
commit064a45e426e92ade151c2a2c4883b0ff604bc039 (patch)
tree2e424a4c21222e0466b4c5005a7fcad120168a66 /dev-ml/lablgl
parentrev bump (diff)
downloadhistorical-064a45e426e92ade151c2a2c4883b0ff604bc039.tar.gz
historical-064a45e426e92ade151c2a2c4883b0ff604bc039.tar.bz2
historical-064a45e426e92ade151c2a2c4883b0ff604bc039.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/lablgl')
-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