Libtool updates.. add 'inherit libtool' where necessary, and fix a bug that was break...
authorChris Larson <clarson@kergoth.com>
Fri, 26 Sep 2003 20:12:20 +0000 (20:12 +0000)
committerChris Larson <clarson@kergoth.com>
Fri, 26 Sep 2003 20:12:20 +0000 (20:12 +0000)
BKrev: 3f749da4vO8IAr8t_7pqHYdiiKOyTw

15 files changed:
content/apache-2.0.47.oe
content/busybox-1.00-pre2.oe
content/busybox-1.00-pre3.oe
content/expat-1.95.6.oe
content/fakeroot-0.7.5.oe
content/ifupdown-0.6.4.oe
content/irda-utils-0.9.15.oe
content/jpeg-6b.oe
content/libogg-1.0.0.oe
content/libtool-1.5.oe
content/libtool-1.5/libdir-la.patch [moved from content/libtool-1.5/libdir.patch with 100% similarity]
content/openobex-1.0.0.oe
content/openobex-apps-1.0.0.oe
content/pcre-4.4.oe
content/tslib.oe

index 6c75bca..b46e854 100644 (file)
@@ -1,11 +1,11 @@
 SRC_URI = http://ftp.epix.net/apache/httpd/httpd-${PV}.tar.gz
 SECTION = net
-DEPENDS = virtual/libc expat libtool openssl
+DEPENDS = virtual/libc expat openssl
 RDEPENDS = libc6, libexpat1, libssl0.9.7
 
 S = ${WORKDIR}/httpd-${PV}
 
-inherit autotools
+inherit autotools libtool
 
 CFLAGS_append = " -DPATH_MAX=4096"
 CFLAGS_prepend = "-I${STAGING_DIR}/target/include/openssl "
index 9e2848f..252d6fe 100644 (file)
@@ -15,6 +15,8 @@ S="${WORKDIR}/${P}"
 export EXTRA_CFLAGS="${CFLAGS}"
 EXTRA_OEMAKE_append=' CROSS=${CROSS}'
 
+inherit cml1
+
 do_configure () {
        install -m 0644 ${FILESDIR}/defconfig ${S}/.config
        cml1_do_configure
@@ -37,5 +39,3 @@ do_package_ipk_prepend () {
        install -m 0755 ${FILESDIR}/postinst ${D}/CONTROL/postinst;
        install -m 0755 ${FILESDIR}/prerm ${D}/CONTROL/prerm;
 }
-
-inherit cml1 base
index 4ca16bf..7ceb2c4 100644 (file)
@@ -15,6 +15,8 @@ S="${WORKDIR}/${P}"
 export EXTRA_CFLAGS="${CFLAGS}"
 EXTRA_OEMAKE_append=' CROSS=${CROSS}'
 
+inherit cml1
+
 do_configure () {
        install -m 0644 ${FILESDIR}/defconfig ${S}/.config
        cml1_do_configure
@@ -36,5 +38,3 @@ do_package_ipk_prepend () {
        install -m 0755 ${FILESDIR}/postinst ${D}/CONTROL/postinst;
        install -m 0755 ${FILESDIR}/prerm ${D}/CONTROL/prerm;
 }
-
-inherit cml1 base
index fca7bb5..638ff75 100644 (file)
@@ -5,7 +5,7 @@ RDEPENDS = libc6
 SRC_URI = ${SOURCEFORGE_MIRROR}/${PN}/${P}.tar.gz
 S = "${WORKDIR}/${P}"
 
-inherit autotools
+inherit autotools libtool
 
 do_stage () {
        install -m 0644 lib/expat.h ${STAGING_DIR}/target/include/
index f031a52..fad2bcd 100644 (file)
@@ -1,4 +1,4 @@
 SRC_URI := ${DEBIAN_MIRROR}/main/f/fakeroot/${PN}_${PV}.tar.gz
 S = ${WORKDIR}/${P}
 
-inherit autotools
+inherit autotools libtool
index 2f30b27..0c1bcae 100644 (file)
@@ -23,6 +23,6 @@ do_install () {
                   ${D}/sbin
        install -m 0755 ifup ${D}/sbin/
        ln ${D}/sbin/ifup ${D}/sbin/ifdown
-       install -m 0644 ${FILESDIR}/init ${D}/etc/init.d/init
+       install -m 0644 ${FILESDIR}/init ${D}/etc/init.d/networking
        install -m 0644 ${FILESDIR}/interfaces ${D}/etc/network/interfaces
 }
index be32043..e81638a 100644 (file)
@@ -7,7 +7,7 @@ DESCRIPTION = Provides common files needed to use IrDA.\
 SRC_URI = ${SOURCEFORGE_MIRROR}/irda/${P}.tar.gz
 S = ${WORKDIR}/${P}
 
-inherit autotools
+inherit autotools libtool
 
 do_compile () {
        oe_runmake -C irattach
index e40aaa0..0c900a3 100644 (file)
@@ -8,12 +8,10 @@ SRC_URI = http://www.ijg.org/files/jpegsrc.v${PV}.tar.gz \
          file://${FILESDIR}/debian.patch;patch=1
 S=${WORKDIR}/jpeg-${PV}
 
-inherit autotools
+inherit autotools libtool
 
 EXTRA_OECONF="--enable-static --enable-shared"
 
-# this libtool cant handle the multiword gcc
-CC:=${@oe.data.getVar("CC", d, 1).split()[-1].strip()}
 CFLAGS_append = " -D_REENTRANT"
 #export AR:=${AR} rv
 
index 45a6e30..58ea540 100644 (file)
@@ -9,4 +9,4 @@ SRC_URI = "ftp://ftp.debian.org/debian/pool/main/libo/libogg/${PN}_${PV}.orig.ta
 SRC_URI_append = " file://${FILESDIR}/libogg-configure.patch;patch=1"
 S=${WORKDIR}/${P}
 
-inherit autotools
+inherit autotools libtool
index e69de29..8d9d8c4 100644 (file)
@@ -0,0 +1,36 @@
+DESCRIPTION = Generic library support script\
+ This is GNU libtool, a generic library support script.  Libtool hides\
+ the complexity of generating special library types (such as shared\
+ libraries) behind a consistent interface.  To use libtool, add the\
+ new generic library building commands to your Makefile, Makefile.in,\
+ or Makefile.am.  See the documentation for details.  Libtool supports\
+ building static libraries on all platforms.\
+ Libtool supports generation of C, C++ and Java libraries.
+
+SRC_URI = http://ftp.club.cc.cmu.edu/pub/gnu/libtool/libtool-1.5.tar.gz \
+         file://${FILESDIR}/libdir-la.patch;patch=1 \
+         file://${FILESDIR}/sedvar.patch;patch=1 \
+         file://${FILESDIR}/tag.patch;patch=1 \
+         file://${FILESDIR}/libtoolize-staging.patch;patch=1
+#        file://${FILESDIR}/libdir-rpath.patch;patch=1
+S = "${WORKDIR}/${P}"
+
+inherit autotools
+
+EXTRA_OECONF = --disable-ltdl-install
+do_configure_prepend () {
+       unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS CC CPP
+       ./bootstrap
+       rm -f ${S}/ltmain.sh
+}
+
+do_stage () {
+       install -d ${STAGING_DIR}/share/{libtool,aclocal}
+       install -m 0755 libtool ${STAGING_BINDIR}/libtool
+       install -m 0755 libtoolize ${STAGING_BINDIR}/libtoolize
+       install -c config.guess ${STAGING_DIR}/share/libtool/
+       install -c config.sub ${STAGING_DIR}/share/libtool/
+       install -c -m 0644 ltmain.sh ${STAGING_DIR}/share/libtool/
+       install -c -m 0644 libtool.m4 ${STAGING_DIR}/share/aclocal/
+       install -c -m 0644 ltdl.m4 ${STAGING_DIR}/share/aclocal/
+}
index e9f11c8..f35d493 100644 (file)
@@ -4,7 +4,7 @@ RDEPENDS = libc6
 SRC_URI = ${SOURCEFORGE_MIRROR}/openobex/${P}.tar.gz
 S = ${WORKDIR}/${P}
 
-inherit autotools
+inherit autotools libtool
 
 do_stage () {
        install -m 0755 src/.libs/libopenobex* ${STAGING_LIBDIR}/
index bb5b8e3..bac1655 100644 (file)
@@ -4,7 +4,7 @@ RDEPENDS = libc6 libopenobex1
 SRC_URI = ${SOURCEFORGE_MIRROR}/openobex/${P}.tar.gz
 S = ${WORKDIR}/${P}
 
-inherit autotools
+inherit autotools libtool
 
 EXTRA_OECONF = --disable-glibtest --with-glib-prefix=${STAGING_DIR}/target
 export OPENOBEX_CFLAGS=-I${STAGING_DIR}/target/include
index 27e1ebc..36e0113 100644 (file)
@@ -11,10 +11,8 @@ the POSIX-style functions is called pcreposix.h.
 SRC_URI = ftp://ftp.csx.cam.ac.uk/pub/software/programming/${PN}/${P}.tar.bz2
 S = "${WORKDIR}/${P}"
 
-inherit autotools
+inherit autotools libtool
 
-# this libtool cant handle the multiword gcc
-CC:=${@oe.data.getVar("CC", d, 1).split()[-1].strip()}
 CFLAGS_append = " -D_REENTRANT"
 do_compile () {
        ${BUILD_CC} -I${S}/include -c dftables.c
index 5abd5cc..95edbc1 100644 (file)
@@ -10,7 +10,7 @@ SRC_URI_append = " file://${FILESDIR}/envvar_doc.patch;patch=1"
 #SRC_URI_append = " file://${FILESDIR}/collie-module.patch;patch=1"
 S = ${WORKDIR}/${PN}
 
-inherit autotools
+inherit autotools libtool
 
 do_compile_prepend () {
        ./autogen.sh