summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--x11-libs/fltk/ChangeLog5
-rw-r--r--x11-libs/fltk/fltk-1.1.0_rc6.ebuild14
2 files changed, 16 insertions, 3 deletions
diff --git a/x11-libs/fltk/ChangeLog b/x11-libs/fltk/ChangeLog
index 780b481db8d4..71d2db8d8dd2 100644
--- a/x11-libs/fltk/ChangeLog
+++ b/x11-libs/fltk/ChangeLog
@@ -1,9 +1,12 @@
# ChangeLog for x11-libs/fltk
# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL
-# $Header: /var/cvsroot/gentoo-x86/x11-libs/fltk/ChangeLog,v 1.7 2002/08/22 19:54:54 raker Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-libs/fltk/ChangeLog,v 1.8 2002/08/22 20:23:15 raker Exp $
*fltk-1.1.0_rc6 (22 Aug 2002)
+ 22 Aug 2002; Nick Hadaway <raker@gentoo.org> fltk-1.1.0_rc6.ebuild :
+ Updated install so all libraries are installed correctly.
+
22 Aug 2002; Nick Hadaway <raker@gentoo.org>
fltk-1.1.0_rc6.ebuild, files/digest-fltk-1.1.0_rc6 :
Version bump.
diff --git a/x11-libs/fltk/fltk-1.1.0_rc6.ebuild b/x11-libs/fltk/fltk-1.1.0_rc6.ebuild
index eb43075c6564..81b8245bd791 100644
--- a/x11-libs/fltk/fltk-1.1.0_rc6.ebuild
+++ b/x11-libs/fltk/fltk-1.1.0_rc6.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
-# $Header: /var/cvsroot/gentoo-x86/x11-libs/fltk/fltk-1.1.0_rc6.ebuild,v 1.1 2002/08/22 19:54:54 raker Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-libs/fltk/fltk-1.1.0_rc6.ebuild,v 1.2 2002/08/22 20:23:15 raker Exp $
MY_P=${P/_/}
S=${WORKDIR}/${MY_P}
@@ -16,10 +16,18 @@ DEPEND="media-libs/libpng
media-libs/jpeg
opengl? ( virtual/opengl )"
+src_unpack() {
+
+ unpack ${A}
+ cd ${S}
+ patch -p1 < ${FILESDIR}/libs.diff || die "patch failed"
+
+}
+
src_compile() {
local myconf
- myconf="--enable-shared --enable-threads"
+ myconf="--enable-shared --enable-static --enable-threads"
use opengl || myconf="${myconf} --disable-gl"
@@ -42,6 +50,8 @@ src_install () {
includedir=${D}/usr/include/${PN}-1.1 \
libdir=${D}/usr/lib/fltk-1.1 || die "Installation Failed"
+ ranlib ${D}/usr/lib/fltk-1.1/*.a
+
dodoc CHANGES COPYING README
echo "LDPATH=/usr/lib/fltk-1.1" > 99fltk-1.1