summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2003-01-15 19:14:58 +0000
committerMike Frysinger <vapier@gentoo.org>2003-01-15 19:14:58 +0000
commit7c4d64715d7c81d3a1b3bb8cdf2d58f85a614301 (patch)
tree3b544cae2382bb1b3bc93144ca2654474ef79e12 /dev-libs/vdk
parentFixed DEPEND misnomers (diff)
downloadhistorical-7c4d64715d7c81d3a1b3bb8cdf2d58f85a614301.tar.gz
historical-7c4d64715d7c81d3a1b3bb8cdf2d58f85a614301.tar.bz2
historical-7c4d64715d7c81d3a1b3bb8cdf2d58f85a614301.zip
small patch #13820
Diffstat (limited to 'dev-libs/vdk')
-rw-r--r--dev-libs/vdk/ChangeLog11
-rw-r--r--dev-libs/vdk/files/vdk-2.0.2-makefile.in.patch13
-rw-r--r--dev-libs/vdk/vdk-2.0.2.ebuild30
3 files changed, 33 insertions, 21 deletions
diff --git a/dev-libs/vdk/ChangeLog b/dev-libs/vdk/ChangeLog
index 7110fea775ee..6a24d3f23d51 100644
--- a/dev-libs/vdk/ChangeLog
+++ b/dev-libs/vdk/ChangeLog
@@ -1,11 +1,12 @@
# ChangeLog for dev-libs/vdk
# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/vdk/ChangeLog,v 1.2 2002/12/17 19:19:33 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/vdk/ChangeLog,v 1.3 2003/01/15 19:14:58 vapier Exp $
*vdk-2.0.2 (12 Aug 2002)
- 12 Aug 2002; Joe Tennies <rotund@fatnsoft.com> vdk-2.0.2.ebuild:
- First release... based on bass@gentoo.org's original vdkbuilder
- script that built the vdk library.
-
+ 15 Jan 2002; Mike Frysinger <vapier@gentoo.org> :
+ Added a small vdk/Makefile.in patch to fix #13820.
+ 12 Aug 2002; Joe Tennies <rotund@fatnsoft.com> vdk-2.0.2.ebuild:
+ First release... based on bass@gentoo.org's original vdkbuilder
+ script that built the vdk library.
diff --git a/dev-libs/vdk/files/vdk-2.0.2-makefile.in.patch b/dev-libs/vdk/files/vdk-2.0.2-makefile.in.patch
new file mode 100644
index 000000000000..c9f77122c083
--- /dev/null
+++ b/dev-libs/vdk/files/vdk-2.0.2-makefile.in.patch
@@ -0,0 +1,13 @@
+--- vdk/Makefile.in.orig 2003-01-15 14:04:55.000000000 -0500
++++ vdk/Makefile.in 2003-01-15 14:05:05.000000000 -0500
+@@ -183,8 +183,8 @@
+ INCLUDES = -I$(top_srcdir)/include @INCLUDES@
+ CXXFLAGS = @CXXFLAGS@
+
+-LDFLAGS = "$(GTK_CFLAGS) $(SIGC_CFLAGS)"
+-LIBS = "$(GTK_LIBS) $(SIGC_LIBS)"
++LDFLAGS = $(GTK_CFLAGS) $(SIGC_CFLAGS)
++LIBS = $(GTK_LIBS) $(SIGC_LIBS)
+
+ EXTRA_DIST = rgb.cc sigc_events.cc sigc_eventsignals.cc sigc_eventtraits.cc
+
diff --git a/dev-libs/vdk/vdk-2.0.2.ebuild b/dev-libs/vdk/vdk-2.0.2.ebuild
index a445c701b355..d7e6073b39c2 100644
--- a/dev-libs/vdk/vdk-2.0.2.ebuild
+++ b/dev-libs/vdk/vdk-2.0.2.ebuild
@@ -1,16 +1,17 @@
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/vdk/vdk-2.0.2.ebuild,v 1.3 2002/10/05 05:39:11 drobbins Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/vdk/vdk-2.0.2.ebuild,v 1.4 2003/01/15 19:14:58 vapier Exp $
-IUSE="nls gnome"
+inherit eutils
-DESCRIPTION="The Visual Development Kit used for VDK Builder."
+DESCRIPTION="The Visual Development Kit used by VDK Builder"
SRC_URI="mirror://sourceforge/vdkbuilder/${P}.tar.gz"
-HOMEPAGE="http://vdkbuilder.sf.net"
+HOMEPAGE="http://vdkbuilder.sourceforge.net/"
SLOT="0"
LICENSE="GPL-2"
KEYWORDS="x86"
+IUSE="nls gnome pic"
DEPEND="dev-libs/atk
x11-libs/pango
@@ -21,21 +22,18 @@ DEPEND="dev-libs/atk
# app-doc/doxygen"
src_compile() {
-
- local myconf
- use nls \
- && myconf="${myconf} --enable-nls" \
- || myconf="${myconf} --disable-nls"
-
- use gnome \
- && myconf="${myconf} --enable-gnome=yes" \
- || myconf="${myconf} --enable-gnome=no"
-
- econf ${myconf} || die "econf failed"
+ epatch ${FILESDIR}/${P}-makefile.in.patch
+
+ econf \
+ --with-gnu-ld \
+ `use_enable nls` \
+ `use_enable gnome` \
+ `use_with pic` \
+ || die "econf failed"
emake || die
}
-src_install () {
+src_install() {
make DESTDIR=${D} install || die
dodoc AUTHORS BUGS ChangeLog COPYING INSTALL NEWS README TODO
}