diff options
author | Josh Glover <jmglov@gentoo.org> | 2004-06-23 11:55:14 +0000 |
---|---|---|
committer | Josh Glover <jmglov@gentoo.org> | 2004-06-23 11:55:14 +0000 |
commit | 03194419dcc6cbb99d5eff76ab2eaaa45e6f2a6d (patch) | |
tree | c553b63f6d3938967039449c3558c2fae6242aff /dev-libs | |
parent | Version bump; submitted by M3Dlor in bug #47889 (diff) | |
download | historical-03194419dcc6cbb99d5eff76ab2eaaa45e6f2a6d.tar.gz historical-03194419dcc6cbb99d5eff76ab2eaaa45e6f2a6d.tar.bz2 historical-03194419dcc6cbb99d5eff76ab2eaaa45e6f2a6d.zip |
Fixed bug in ebuild that was preventing emerges; submitted by Josh Glover in bug #35679
Diffstat (limited to 'dev-libs')
-rw-r--r-- | dev-libs/libsqlora8/ChangeLog | 7 | ||||
-rw-r--r-- | dev-libs/libsqlora8/Manifest | 6 | ||||
-rw-r--r-- | dev-libs/libsqlora8/libsqlora8-2.2.11.ebuild | 23 | ||||
-rw-r--r-- | dev-libs/libsqlora8/metadata.xml | 7 |
4 files changed, 23 insertions, 20 deletions
diff --git a/dev-libs/libsqlora8/ChangeLog b/dev-libs/libsqlora8/ChangeLog index 836841a95d5b..4945ed7b2336 100644 --- a/dev-libs/libsqlora8/ChangeLog +++ b/dev-libs/libsqlora8/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-libs/libsqlora8 # Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/libsqlora8/ChangeLog,v 1.1 2004/02/13 02:50:48 rizzo Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/libsqlora8/ChangeLog,v 1.2 2004/06/23 11:55:14 jmglov Exp $ + + 23 Jun 2004; Josh Glover <jmglov@gentoo.org> libsqlora8-2.2.11.ebuild, + metadata.xml: + Fixed bug in ebuild that was preventing emerges; submitted by Josh Glover in + bug #35679 *libsqlora8-2.2.11 (12 Feb 2004) diff --git a/dev-libs/libsqlora8/Manifest b/dev-libs/libsqlora8/Manifest index 73b2eae1df58..03a46fd4fb35 100644 --- a/dev-libs/libsqlora8/Manifest +++ b/dev-libs/libsqlora8/Manifest @@ -1,4 +1,4 @@ -MD5 d265d07416aa4bc885c37e837f71bbb3 libsqlora8-2.2.11.ebuild 1771 -MD5 4ec3fc1b1960e307fa6fa6f02ff7500f ChangeLog 383 -MD5 b6bcffbcff180bd9de06a00c564d1b19 metadata.xml 401 +MD5 066200696f1f21522c665438d159deba ChangeLog 565 +MD5 893fc7ea48712cd840741f6f469d48c6 libsqlora8-2.2.11.ebuild 1649 +MD5 40eef4c0d3ce4b82b599f5a889568975 metadata.xml 429 MD5 8a06edc637420287b983ec91532dbadf files/digest-libsqlora8-2.2.11 69 diff --git a/dev-libs/libsqlora8/libsqlora8-2.2.11.ebuild b/dev-libs/libsqlora8/libsqlora8-2.2.11.ebuild index dd5b606691f8..d297286039b4 100644 --- a/dev-libs/libsqlora8/libsqlora8-2.2.11.ebuild +++ b/dev-libs/libsqlora8/libsqlora8-2.2.11.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2004 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/libsqlora8/libsqlora8-2.2.11.ebuild,v 1.1 2004/02/13 02:50:48 rizzo Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/libsqlora8/libsqlora8-2.2.11.ebuild,v 1.2 2004/06/23 11:55:14 jmglov Exp $ IUSE="pthreads orathreads" @@ -24,39 +24,38 @@ pkg_setup() { fi # Make sure ORACLE_HOME is set - if [ -z $ORACLE_HOME ]; then + if [ -z "${ORACLE_HOME}" ]; then eerror eerror 'libsqlora8 requires that the ORACLE_HOME environment variable be set.' eerror 'Try: "export ORACLE_HOME=/usr/local/oracle" if you do not know what to do.' eerror die 'ORACLE_HOME not set, see above' fi +} + +src_compile() { + local myconf; # Add $ORACLE_HOME/lib to LD_LIBRARY_PATH - if [ -z $LD_LIBRARY_PATH ]; then - LD_LIBRARY_PATH=$ORACLE_HOME/lib + if [ -z "${LD_LIBRARY_PATH}" ]; then + LD_LIBRARY_PATH=${ORACLE_HOME}/lib else - LD_LIBRARY_PATH=$ORACLE_HOME/lib:$LD_LIBRARY_PATH + LD_LIBRARY_PATH=${ORACLE_HOME}/lib:${LD_LIBRARY_PATH} fi - export LD_LIBRARY_PATH -} -src_compile() { - local myconf; + export LD_LIBRARY_PATH use pthreads && myconf="--with-threads=posix" use orathreads && myconf="--with-threads=oracle" # Build - econf $myconf || die "configure failed" + econf ${myconf} || die "configure failed" emake - #make "DESTDIR=${D}" "docdir=${D}/usr/share/doc/${P}" || die "make failed" } src_install () { einstall dodoc COPYING ChangeLog INSTALL NEWS NEWS-2.2 - #mv ${D}/usr/share/doc/packages/${PN} ${D}/usr/share/doc/${P} # TODO # Copy contents of doc and examples directory to doc diff --git a/dev-libs/libsqlora8/metadata.xml b/dev-libs/libsqlora8/metadata.xml index 2388487e1d87..f412d6f193b5 100644 --- a/dev-libs/libsqlora8/metadata.xml +++ b/dev-libs/libsqlora8/metadata.xml @@ -3,9 +3,8 @@ <pkgmetadata> <herd>no-herd</herd> <maintainer> - <email>rizzo@gentoo.org</email> -<!-- <name>Full name</name> --> -<!-- <description>Description of the maintainership</description> --> + <email>jmglov@gentoo.org</email> + <name>Josh Glover</name> </maintainer> -<!-- <longdescription>Long description of the package</longdescription> --> +<longdescription>libsqlora8 is simple C-library to access Oracle databases via the OCI interface. Makes simple programming tasks much easier than with plain OCI.</longdescription> </pkgmetadata> |