Adapting some builds per the recent oe metadata handling changes.
authorChris Larson <clarson@kergoth.com>
Mon, 29 Mar 2004 21:17:57 +0000 (21:17 +0000)
committerChris Larson <clarson@kergoth.com>
Mon, 29 Mar 2004 21:17:57 +0000 (21:17 +0000)
BKrev: 40689285Q7zUjk20aonhEakS324blw

14 files changed:
acpid/acpid_1.0.2.oe
acpid/acpid_1.0.3.oe
apache/apache_2.0.48.oe
apmd/apmd_3.2.0.oe
db/db3_3.2.9.oe
glibc/glibc_2.3.2.oe
ifplugd/ifplugd_0.20.oe
netbase/netbase_4.16.oe
netkit-base/netkit-base_0.17.oe
qmake/qmake-native_3.2.3.oe
qte/qte_2.3.6.oe
qte/qte_2.3.7.oe
qte/qte_2.3.8-snap.oe
uicmoc/uicmoc-native_2.3.7.oe

index b2e17c7..da375e1 100644 (file)
@@ -17,14 +17,14 @@ do_install () {
 }
 
 pkg_postinst () {
-       if test -n "$D"; then
+       if test -n "${D}"; then
                D="-r $D"
        fi
        update-rc.d $D acpid defaults
 }
 
 pkg_prerm () {
-       if test -n "$D"; then
+       if test -n "${D}"; then
                D="-r $D"
        fi
        update-rc.d $D acpid remove
index b2e17c7..da375e1 100644 (file)
@@ -17,14 +17,14 @@ do_install () {
 }
 
 pkg_postinst () {
-       if test -n "$D"; then
+       if test -n "${D}"; then
                D="-r $D"
        fi
        update-rc.d $D acpid defaults
 }
 
 pkg_prerm () {
-       if test -n "$D"; then
+       if test -n "${D}"; then
                D="-r $D"
        fi
        update-rc.d $D acpid remove
index 339c27e..2c8d42e 100644 (file)
@@ -72,14 +72,14 @@ do_install_append () {
 }
 
 pkg_postinst () {
-       if test -n "$D"; then
+       if test -n "${D}"; then
                D="-r $D"
        fi
        update-rc.d $D httpd defaults 91 20
 }
 
 pkg_prerm () {
-       if test -n "$D"; then
+       if test -n "${D}"; then
                D="-r $D"
        fi
        update-rc.d $D httpd remove
index 6224f4a..61e385f 100644 (file)
@@ -52,20 +52,20 @@ do_install() {
        install -m 0644 ${S}/debian/apmd_proxy.conf ${D}/${datadir}/apmd/
        install -m 0644 ${S}/debian/apmd.default ${D}/${sysconfdir}/default/apmd
        oe_soinstall .libs/libapm.so.1.0.0 ${D}/${libdir}/
-                   
+
        cat ${FILESDIR}/init | sed -e 's,/usr/sbin,${sbindir},g; s,/etc,${sysconfdir},g;' > ${D}/${sysconfdir}/init.d/apmd
        chmod 755 ${D}/${sysconfdir}/init.d/apmd
 }
 
 pkg_postinst () {
-       if test -n "$D"; then
+       if test -n "${D}"; then
                D="-r $D"
        fi
        update-rc.d $D apmd defaults
 }
 
 pkg_prerm () {
-       if test -n "$D"; then
+       if test -n "${D}"; then
                D="-r $D"
        fi
        update-rc.d $D apmd remove
index c6d2d0b..163081b 100644 (file)
@@ -26,13 +26,13 @@ do_configure_prepend () {
                . ./RELEASE
                (echo "AC_DEFUN(AM_VERSION_SET, [" &&
                echo "AC_SUBST(DB_VERSION_MAJOR)" &&
-               echo "DB_VERSION_MAJOR=$DB_VERSION_MAJOR" &&
+               echo "DB_VERSION_MAJOR=\$DB_VERSION_MAJOR" &&
                echo "AC_SUBST(DB_VERSION_MINOR)" &&
-               echo "DB_VERSION_MINOR=$DB_VERSION_MINOR" &&
+               echo "DB_VERSION_MINOR=\$DB_VERSION_MINOR" &&
                echo "AC_SUBST(DB_VERSION_PATCH)" &&
-               echo "DB_VERSION_PATCH=$DB_VERSION_PATCH" &&
+               echo "DB_VERSION_PATCH=\$DB_VERSION_PATCH" &&
                echo "AC_SUBST(DB_VERSION_STRING)" &&
-               echo "DB_VERSION_STRING=\"\\\"$DB_VERSION_STRING\\\"\"" &&
+               echo "DB_VERSION_STRING=\"\\\"\$DB_VERSION_STRING\\\"\"" &&
                echo "])dnl") > acinclude.m4
        )
 }
index 50d4ec2..1d3a4f3 100644 (file)
@@ -91,7 +91,7 @@ glibcbuild_do_unpack () {
        cp -a "${FILESDIR}/autoconf.h" "${WORKDIR}/linux/include/linux/"
        sed 's:\(^.*define.*__NR_waitpid.*$\):/*&*/:' < ${WORKDIR}/linux/include/asm-arm/unistd.h > ${WORKDIR}/linux/include/asm-arm/unistd.h.new
        mv ${WORKDIR}/linux/include/asm-arm/unistd.h.new ${WORKDIR}/linux/include/asm-arm/unistd.h
-       case $TARGET_ARCH in
+       case ${TARGET_ARCH} in
                alpha*)   TARGET_ARCH=alpha ;;
                arm*)     TARGET_ARCH=arm ;;
                cris*)    TARGET_ARCH=cris ;;
index 0e2770a..c791600 100644 (file)
@@ -9,14 +9,14 @@ inherit autotools
 EXTRA_OECONF = "--disable-lynx"
 
 pkg_postinst () {
-       if test -n "$D"; then
+       if test -n "${D}"; then
                D="-r $D"
        fi
        update-rc.d $D ifplugd defaults
 }
 
 pkg_prerm () {
-       if test -n "$D"; then
+       if test -n "${D}"; then
                D="-r $D"
        fi
        update-rc.d $D ifplugd remove
index 5d4e529..9fe1f22 100644 (file)
@@ -15,14 +15,14 @@ do_install () {
 }
 
 pkg_postinst () {
-       if test -n "$D"; then
+       if test -n "${D}"; then
                D="-r $D"
        fi
        update-rc.d $D networking start 40 S . stop 40 0 6 1 .
 }
 
 pkg_prerm () {
-       if test -n "$D"; then
+       if test -n "${D}"; then
                D="-r $D"
        fi
        update-rc.d $D networking remove
index b5b56cb..7dccf23 100644 (file)
@@ -19,14 +19,14 @@ do_install () {
 }
 
 pkg_postinst () {
-       if test -n "$D"; then
+       if test -n "${D}"; then
                D="-r $D"
        fi
        update-rc.d $D inetd start 20 2 3 4 5 . stop 20 0 1 6 .
 }
 
 pkg_prerm () {
-       if test -n "$D"; then
+       if test -n "${D}"; then
                D="-r $D"
        fi
        update-rc.d $D inetd remove
index aebb13a..2f14be3 100644 (file)
@@ -19,11 +19,8 @@ EXTRA_OECONF = "-static -no-gif -no-sm -system-zlib -system-libjpeg -system-libp
 EXTRA_OEMAKE = "-e"
 
 do_configure() {
-        if [ "$BUILD_ARCH" = "i686" ]; then
-                BUILD_ARCH=x86
-        fi
-        echo yes | ./configure $EXTRA_OECONF || die "Configuring qt failed"
-
+        oenote ./configure ${EXTRA_OECONF}
+        echo yes | ./configure ${EXTRA_OECONF} || die "Configuring qt failed"
 }
 
 do_compile() {
index 9f9f477..704ba4d 100644 (file)
@@ -43,10 +43,8 @@ export SYSCONF_MOC = "${STAGING_BINDIR}/moc"
 export SYSCONF_UIC = "${STAGING_BINDIR}/uic"
 
 do_configure() {
-       if [ "$BUILD_ARCH" = "i686" ]; then
-               BUILD_ARCH=x86
-       fi
-       echo yes | ./configure $EXTRA_OECONF || die "Configuring qt failed"
+       oenote ./configure ${EXTRA_OECONF}
+       echo yes | ./configure ${EXTRA_OECONF} || die "Configuring qt failed"
 }
 
 do_compile() {
index 83cb24e..6d52a29 100644 (file)
@@ -44,10 +44,8 @@ export SYSCONF_MOC = "${STAGING_BINDIR}/moc"
 export SYSCONF_UIC = "${STAGING_BINDIR}/uic"
 
 do_configure() {
-       if [ "$BUILD_ARCH" = "i686" ]; then
-               BUILD_ARCH=x86
-       fi
-       echo yes | ./configure $EXTRA_OECONF || die "Configuring qt failed"
+       oenote ./configure ${EXTRA_OECONF}
+       echo yes | ./configure ${EXTRA_OECONF} || die "Configuring qt failed"
 }
 
 do_compile() {
index b1dc9de..fb07b6e 100644 (file)
@@ -44,10 +44,8 @@ export SYSCONF_MOC = "${STAGING_BINDIR}/moc"
 export SYSCONF_UIC = "${STAGING_BINDIR}/uic"
 
 do_configure() {
-    if [ "$BUILD_ARCH" = "i686" ]; then
-        BUILD_ARCH=x86
-    fi
-    echo yes | ./configure $EXTRA_OECONF || die "Configuring qt failed"
+    oenote ./configure ${EXTRA_OECONF}
+    echo yes | ./configure ${EXTRA_OECONF} || die "Configuring qt failed"
 }
 
 do_compile() {
index 9417027..02e2128 100644 (file)
@@ -16,15 +16,13 @@ export SYSCONF_LINK  = "${CCACHE} g++"
 
 ARCH_i686 = "x86"
 
-EXTRA_OECONF = "-depths 8,16 -xplatform linux-x86-g++ -no-qvfb -no-g++-exceptions -no-jpeg -no-mng -qt-zlib -qt-libpng -no-xft -no-xkb -no-vnc -no-sm -no-opengl -static -qconfig oe"
+EXTRA_OECONF = "-depths 8,16 -no-qvfb -no-g++-exceptions -no-jpeg -no-mng -qt-zlib -qt-libpng -no-xft -no-xkb -no-vnc -no-sm -no-opengl -static -qconfig oe"
 EXTRA_OEMAKE = "-e"
 
 do_configure() {
-        if [ "$BUILD_ARCH" = "i686" ]; then
-                BUILD_ARCH=x86
-        fi
        echo "#define QT_NO_FREETYPE" >>src/tools/qconfig-oe.h
-        echo yes | ./configure $EXTRA_OECONF || die "Configuring qt failed"
+        oenote ./configure ${EXTRA_OECONF}
+        echo yes | ./configure ${EXTRA_OECONF} || die "Configuring qt failed"
 }
 
 do_compile() {