summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Larson <clarson@kergoth.com>2003-10-17 00:04:36 +0000
committerChris Larson <clarson@kergoth.com>2003-10-17 00:04:36 +0000
commit88ca5e7b8d117bdceef3516d15a5e5b0b4b75eaf (patch)
tree9e685fd22294440eb759c1e734c682a1ab8225ac
parent89f514b9d243fe551466eae22a72e482a2c99541 (diff)
First pass at patches to update various packages to recent autotools (first pass is 'autoupdate' only).
BKrev: 3f8f3214lGQ4WxIZ_n6VvkJ1pfUjcQ
-rw-r--r--apache/apache-2.0.47/configure.patch (renamed from openssh/openssh-3.7.1p1/cross.patch)0
-rw-r--r--apache/apache_2.0.47.oe1
-rw-r--r--avr-libc/avr-libc-1.0/configure.patch (renamed from openssh/openssh-3.7.1p2/cross.patch)0
-rw-r--r--avr-libc/avr-libc_1.0.oe27
-rw-r--r--base-passwd/base-passwd-3.5.4/configure.patch0
-rw-r--r--base-passwd/base-passwd_3.5.4.oe3
-rw-r--r--bash/bash-2.05b/configure.patch0
-rw-r--r--bash/bash_2.05b.oe22
-rw-r--r--binutils/binutils-2.14.90.0.6/configure.patch0
-rw-r--r--binutils/binutils_2.14.90.0.6.oe73
-rw-r--r--console-tools/console-tools-0.3.2/configure.patch0
-rw-r--r--console-tools/console-tools_0.3.2.oe16
-rw-r--r--corkscrew/corkscrew-2.0/configure.patch0
-rw-r--r--corkscrew/corkscrew_2.0.oe5
-rw-r--r--cscope/cscope-15.4/configure.patch0
-rw-r--r--cscope/cscope_15.4.oe12
-rw-r--r--fbi/fbi-1.22/configure.patch0
-rw-r--r--fbi/fbi_1.22.oe10
-rw-r--r--findutils/findutils-4.1.20/configure.patch0
-rw-r--r--findutils/findutils_4.1.20.oe8
-rw-r--r--gawk/gawk-3.0.4/configure.patch0
-rw-r--r--gawk/gawk_3.0.4.oe17
-rw-r--r--gpm/gpm-1.20.1/configure.patch0
-rw-r--r--gpm/gpm_1.20.1.oe3
-rw-r--r--gzip/gzip-1.3.5/configure.patch0
-rw-r--r--gzip/gzip_1.3.5.oe11
-rw-r--r--irda-utils/irda-utils-0.9.15/configure.patch0
-rw-r--r--irda-utils/irda-utils_0.9.15.oe22
-rw-r--r--less/less-381/configure.patch0
-rw-r--r--less/less_381.oe3
-rw-r--r--liblockfile/liblockfile-1.05/configure.patch0
-rw-r--r--liblockfile/liblockfile_1.05.oe3
-rw-r--r--libogg/libogg-1.0.0/configure.patch0
-rw-r--r--libogg/libogg_1.0.0.oe27
-rw-r--r--libpcap/libpcap-0.7.2/configure.patch0
-rw-r--r--libpcap/libpcap_0.7.2.oe26
-rw-r--r--mailutils/mailutils-0.3.1/configure.patch0
-rw-r--r--mailutils/mailutils_0.3.1.oe10
-rw-r--r--modutils/modutils-2.4.25-r0/configure.patch0
-rw-r--r--modutils/modutils_2.4.25.oe9
-rw-r--r--mp3blaster/mp3blaster-3.1.3/configure.patch0
-rw-r--r--mp3blaster/mp3blaster_3.1.3.oe13
-rw-r--r--mutt/mutt-1.5.4i/configure.patch0
-rw-r--r--mutt/mutt_1.5.4i.oe27
-rw-r--r--ncftp/ncftp-3.1.6/configure.patch0
-rw-r--r--ncftp/ncftp_3.1.6.oe19
-rw-r--r--ncurses/ncurses/configure.patch0
-rw-r--r--ncurses/ncurses_5.3.oe47
-rw-r--r--ntp/ntp-4.1.2/configure.patch0
-rw-r--r--ntp/ntp_4.1.2.oe11
-rw-r--r--openssh/openssh-3.7.1p1/configure.patch0
-rw-r--r--openssh/openssh-3.7.1p2/configure.patch0
-rw-r--r--openssh/openssh_3.7.1p1.oe30
-rw-r--r--openssh/openssh_3.7.1p2.oe30
-rw-r--r--psmisc/psmisc-20.2/configure.patch0
-rw-r--r--psmisc/psmisc_20.2.oe12
-rw-r--r--ssmtp/ssmtp-2.60.4/configure.patch0
-rw-r--r--ssmtp/ssmtp_2.60.4.oe22
-rw-r--r--tslib/tslib.oe1
-rw-r--r--tslib/tslib/configure.patch0
60 files changed, 516 insertions, 4 deletions
diff --git a/openssh/openssh-3.7.1p1/cross.patch b/apache/apache-2.0.47/configure.patch
index e69de29bb2..e69de29bb2 100644
--- a/openssh/openssh-3.7.1p1/cross.patch
+++ b/apache/apache-2.0.47/configure.patch
diff --git a/apache/apache_2.0.47.oe b/apache/apache_2.0.47.oe
index cee55d3c2a..10658ee80e 100644
--- a/apache/apache_2.0.47.oe
+++ b/apache/apache_2.0.47.oe
@@ -1,4 +1,5 @@
SRC_URI = http://ftp.epix.net/apache/httpd/httpd-${PV}.tar.gz \
+ file://${FILESDIR}/configure.patch;patch=1 \
file://${FILESDIR}/pcre-configure.patch;patch=1
SECTION = net
DEPENDS = virtual/libc expat openssl
diff --git a/openssh/openssh-3.7.1p2/cross.patch b/avr-libc/avr-libc-1.0/configure.patch
index e69de29bb2..e69de29bb2 100644
--- a/openssh/openssh-3.7.1p2/cross.patch
+++ b/avr-libc/avr-libc-1.0/configure.patch
diff --git a/avr-libc/avr-libc_1.0.oe b/avr-libc/avr-libc_1.0.oe
index e69de29bb2..13476bb956 100644
--- a/avr-libc/avr-libc_1.0.oe
+++ b/avr-libc/avr-libc_1.0.oe
@@ -0,0 +1,27 @@
+PROVIDES = virtual/libc
+
+SRC_URI := http://savannah.nongnu.org/download/avr-libc/released/SOURCES/avr-libc-1.0.tar.gz \
+ file://${FILESDIR}/configure.patch;patch=1
+S := ${WORKDIR}/${P}
+B := ${WORKDIR}/build.${BUILD_SYS}.${TARGET_SYS}
+
+inherit autotools
+
+export tooldir=${prefix}
+prefix=${CROSS_DIR}
+exec_prefix=${prefix}
+
+do_stage () {
+# install into CROSS_DIR
+ oe_runmake install
+# install into STAGING_DIR
+ oe_runmake 'prefix=${STAGING_DIR}' 'exec_prefix=${STAGING_DIR}' \
+ 'bindir=${STAGING_BINDIR}' 'libdir=${STAGING_LIBDIR}' \
+ 'tooldir=${STAGING_DIR}' 'toolibdir=${STAGING_LIBDIR}' \
+ install
+}
+
+do_install () {
+# install into D
+ oe_runmake 'DESTDIR=${D}' 'tooldir=/' install
+}
diff --git a/base-passwd/base-passwd-3.5.4/configure.patch b/base-passwd/base-passwd-3.5.4/configure.patch
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/base-passwd/base-passwd-3.5.4/configure.patch
diff --git a/base-passwd/base-passwd_3.5.4.oe b/base-passwd/base-passwd_3.5.4.oe
index f9fae0580a..67a808689c 100644
--- a/base-passwd/base-passwd_3.5.4.oe
+++ b/base-passwd/base-passwd_3.5.4.oe
@@ -1,7 +1,8 @@
DEPENDS = virtual/libc
RDEPENDS = libc6
-SRC_URI := ${DEBIAN_MIRROR}/main/b/base-passwd/base-passwd_3.5.4.tar.gz
+SRC_URI := ${DEBIAN_MIRROR}/main/b/base-passwd/base-passwd_3.5.4.tar.gz \
+ file://${FILESDIR}/configure.patch;patch=1
S := ${WORKDIR}/${P}
inherit autotools
diff --git a/bash/bash-2.05b/configure.patch b/bash/bash-2.05b/configure.patch
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/bash/bash-2.05b/configure.patch
diff --git a/bash/bash_2.05b.oe b/bash/bash_2.05b.oe
index e69de29bb2..cb716d37ff 100644
--- a/bash/bash_2.05b.oe
+++ b/bash/bash_2.05b.oe
@@ -0,0 +1,22 @@
+DEPENDS = virtual/libc ncurses
+RDEPENDS = libc6 libncurses5
+
+SRC_URI = ${GNU_MIRROR}/bash/bash-2.05b.tar.gz \
+ file://${FILESDIR}/make.patch;patch=1 \
+ file://${FILESDIR}/configure.patch;patch=1
+
+inherit autotools
+
+EXTRA_OECONF = --with-curses
+BUILD_CPPFLAGS_append = " -I${S} -I${S}/include"
+BUILD_CFLAGS_append = " -I${S} -I${S}/include"
+export CFLAGS_FOR_BUILD=${BUILD_CFLAGS}
+export CPPFLAGS_FOR_BUILD=${BUILD_CPPFLAGS}
+export LDFLAGS_FOR_BUILD=${BUILD_LDFLAGS}
+export CC_FOR_BUILD=${BUILD_CC}
+do_configure_prepend () {
+ if [ ! -e acinclude.m4 ]; then
+ mv aclocal.m4 acinclude.m4
+ fi
+ support/mkconffiles
+}
diff --git a/binutils/binutils-2.14.90.0.6/configure.patch b/binutils/binutils-2.14.90.0.6/configure.patch
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/binutils/binutils-2.14.90.0.6/configure.patch
diff --git a/binutils/binutils_2.14.90.0.6.oe b/binutils/binutils_2.14.90.0.6.oe
index e69de29bb2..6c415916c7 100644
--- a/binutils/binutils_2.14.90.0.6.oe
+++ b/binutils/binutils_2.14.90.0.6.oe
@@ -0,0 +1,73 @@
+inherit autotools
+
+DESCRIPTION := A GNU collection of binary utilities
+LICENSE := GPL
+MAINTAINER := Gerald Britton <gbritton@doomcom.org>
+
+DEPENDS := virtual/${CROSS}binutils virtual/${CROSS}gcc \
+ virtual/libc virtual/libc-headers patcher
+
+PACKAGES = ${PN} ${PN}-doc
+FILES_${PN} = ${includedir} ${libdir} ${bindir}/*
+
+SRC_URI := http://ftp.kernel.org/pub/linux/devel/binutils/binutils-${PV}.tar.bz2 \
+ file://${FILESDIR}/binutils-001_ld_makefile.patch;patch=1 \
+ file://${FILESDIR}/binutils-006_better_file_error.patch;patch=1 \
+ file://${FILESDIR}/binutils-009_signed_char_fix.patch;patch=1 \
+ file://${FILESDIR}/binutils-012_check_ldrunpath_length.patch;patch=1 \
+ file://${FILESDIR}/binutils-906-hjl_libtool_dso.patch;patch=1 \
+ file://${FILESDIR}/configure.patch;patch=1
+
+S := ${WORKDIR}/binutils-${PV}
+B := ${S}/build.${HOST_SYS}.${TARGET_SYS}
+
+EXTRA_OECONF := --enable-targets=${TARGET_SYS} \
+ --with-sysroot=${prefix} \
+ --with-lib-path=${prefix}/lib:/lib \
+ --enable-multilib \
+ --program-prefix=${TARGET_SYS}-
+
+# This is necessary due to a bug in the binutils Makefiles
+EXTRA_OEMAKE = configure-build-libiberty all
+
+export AR = ${CROSS}ar
+export AS = ${CROSS}as
+export LD = ${CROSS}ld
+export NM = ${CROSS}nm
+export RANLIB = ${CROSS}ranlib
+export OBJCOPY = ${CROSS}objcopy
+export OBJDUMP = ${CROSS}objdump
+
+export AR_FOR_TARGET = ${TARGET_SYS}-ar
+export AS_FOR_TARGET = ${TARGET_SYS}-as
+export LD_FOR_TARGET = ${TARGET_SYS}-ld
+export NM_FOR_TARGET = ${TARGET_SYS}-nm
+export RANLIB_FOR_TARGET = ${TARGET_SYS}-ranlib
+
+export CC_FOR_HOST = ${CCACHE} ${CROSS}gcc
+export CXX_FOR_HOST = ${CCACHE} ${CROSS}gcc
+
+export CC_FOR_BUILD = ${BUILD_CC}
+
+export CC = ${CCACHE} ${CROSS}gcc
+
+binutilsbuild_do_patch () {
+ oenote IN binutils patch
+ perl -i -p -e 's,#.*define.*ELF_DYNAMIC_INTERPRETER.*".*",#define ELF_DYNAMIC_INTERPRETER "/lib/ld-uClibc.so.0",;' `grep -lr ELF_DYNAMIC_INTERPRETER *`
+}
+
+python do_patch () {
+ oe.build.exec_func('base_do_patch', d)
+ oe.build.exec_func('binutilsbuild_do_patch', d)
+}
+
+do_install_append () {
+ cd ${D}/${bindir}
+ # Symlinks for if this is intended to be the only compiler
+ (
+ for p in ${TARGET_SYS}-* ; do
+ ln -sf $p `echo $p | sed -e s,${TARGET_SYS}-,,`
+ done
+ true
+ )
+}
diff --git a/console-tools/console-tools-0.3.2/configure.patch b/console-tools/console-tools-0.3.2/configure.patch
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/console-tools/console-tools-0.3.2/configure.patch
diff --git a/console-tools/console-tools_0.3.2.oe b/console-tools/console-tools_0.3.2.oe
index e69de29bb2..8083581973 100644
--- a/console-tools/console-tools_0.3.2.oe
+++ b/console-tools/console-tools_0.3.2.oe
@@ -0,0 +1,16 @@
+DEPENDS = virtual/libc
+RDEPENDS = libc6
+
+SRC_URI := ${SOURCEFORGE_MIRROR}/lct/console-tools-0.3.2.tar.gz \
+ file://${FILESDIR}/codepage.patch;patch=1 \
+ file://${FILESDIR}/configure.patch;patch=1
+S := ${WORKDIR}/${P}
+
+export SUBDIRS='fontfiletools vttools kbdtools screenfonttools contrib \
+ examples po intl compat'
+do_compile () {
+ oe_runmake -C lib
+ oe_runmake 'SUBDIRS=${SUBDIRS}'
+}
+
+inherit autotools libtool
diff --git a/corkscrew/corkscrew-2.0/configure.patch b/corkscrew/corkscrew-2.0/configure.patch
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/corkscrew/corkscrew-2.0/configure.patch
diff --git a/corkscrew/corkscrew_2.0.oe b/corkscrew/corkscrew_2.0.oe
index e69de29bb2..612c6fee68 100644
--- a/corkscrew/corkscrew_2.0.oe
+++ b/corkscrew/corkscrew_2.0.oe
@@ -0,0 +1,5 @@
+SRC_URI := http://www.agroman.net/${PN}/${P}.tar.gz \
+ file://${FILESDIR}/configure.patch;patch=1
+S := ${WORKDIR}/${P}
+
+inherit autotools
diff --git a/cscope/cscope-15.4/configure.patch b/cscope/cscope-15.4/configure.patch
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/cscope/cscope-15.4/configure.patch
diff --git a/cscope/cscope_15.4.oe b/cscope/cscope_15.4.oe
index e69de29bb2..3472c4fd5d 100644
--- a/cscope/cscope_15.4.oe
+++ b/cscope/cscope_15.4.oe
@@ -0,0 +1,12 @@
+DEPENDS = virtual/libc ncurses-5.3
+RDEPENDS = libc6 libncurses5
+
+SRC_URI := ${SOURCEFORGE_MIRROR}/cscope/cscope-15.4.tar.gz \
+ file://${FILESDIR}/configure.patch;patch=1
+S := ${WORKDIR}/${P}
+
+inherit autotools
+
+do_compile () {
+ oe_runmake 'LDFLAGS=${LDFLAGS}'
+}
diff --git a/fbi/fbi-1.22/configure.patch b/fbi/fbi-1.22/configure.patch
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/fbi/fbi-1.22/configure.patch
diff --git a/fbi/fbi_1.22.oe b/fbi/fbi_1.22.oe
index e69de29bb2..019e64d773 100644
--- a/fbi/fbi_1.22.oe
+++ b/fbi/fbi_1.22.oe
@@ -0,0 +1,10 @@
+DEPENDS = virtual/libc jpeg
+
+SRC_URI := http://bytesex.org/misc/fbi_1.22.tar.gz \
+ file://${FILESDIR}/configure.patch;patch=1
+S := ${WORKDIR}/${P}
+
+inherit autotools
+
+CFLAGS_append = " ${LDFLAGS}"
+EXTRA_OECONF = --disable-magick --without-x
diff --git a/findutils/findutils-4.1.20/configure.patch b/findutils/findutils-4.1.20/configure.patch
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/findutils/findutils-4.1.20/configure.patch
diff --git a/findutils/findutils_4.1.20.oe b/findutils/findutils_4.1.20.oe
index e69de29bb2..271a93c6f3 100644
--- a/findutils/findutils_4.1.20.oe
+++ b/findutils/findutils_4.1.20.oe
@@ -0,0 +1,8 @@
+DEPENDS = virtual/libc
+RDEPENDS = libc6
+
+SRC_URI := ftp://alpha.gnu.org/gnu/findutils/findutils-4.1.20.tar.gz \
+ file://${FILESDIR}/configure.patch;patch=1
+S := ${WORKDIR}/${P}
+
+inherit autotools
diff --git a/gawk/gawk-3.0.4/configure.patch b/gawk/gawk-3.0.4/configure.patch
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/gawk/gawk-3.0.4/configure.patch
diff --git a/gawk/gawk_3.0.4.oe b/gawk/gawk_3.0.4.oe
index e69de29bb2..3b4d90d03e 100644
--- a/gawk/gawk_3.0.4.oe
+++ b/gawk/gawk_3.0.4.oe
@@ -0,0 +1,17 @@
+DEPENDS = virtual/libc
+RDEPENDS = libc6
+
+SRC_URI = ${GNU_MIRROR}/${PN}/${P}.tar.gz \
+ file://${FILESDIR}/configure.patch;patch=1
+S = ${WORKDIR}/${P}
+
+inherit autotools
+
+EXTRA_OEMAKE = "'bindir=${D}/${bindir}' 'mandir=${D}/${mandir}/man1' 'infodir=${D}/${datadir}/info' \
+ 'libexecdir=${D}/${libexecdir}' 'datadir=${D}/${datadir}/awk'"
+
+do_install_append () {
+ rm -f ${D}/${bindir}/gawk-*
+}
+
+FILES_gawk_append = " ${datadir}/awk"
diff --git a/gpm/gpm-1.20.1/configure.patch b/gpm/gpm-1.20.1/configure.patch
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/gpm/gpm-1.20.1/configure.patch
diff --git a/gpm/gpm_1.20.1.oe b/gpm/gpm_1.20.1.oe
index 336d277879..1e30cae9ce 100644
--- a/gpm/gpm_1.20.1.oe
+++ b/gpm/gpm_1.20.1.oe
@@ -1,4 +1,5 @@
-SRC_URI = ftp://arcana.linux.it/pub/gpm/gpm-1.20.1.tar.bz2
+SRC_URI = ftp://arcana.linux.it/pub/gpm/gpm-1.20.1.tar.bz2 \
+ file://${FILESDIR}/configure.patch;patch=1
S = ${WORKDIR}/${P}
inherit autotools
diff --git a/gzip/gzip-1.3.5/configure.patch b/gzip/gzip-1.3.5/configure.patch
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/gzip/gzip-1.3.5/configure.patch
diff --git a/gzip/gzip_1.3.5.oe b/gzip/gzip_1.3.5.oe
index e69de29bb2..deae765bef 100644
--- a/gzip/gzip_1.3.5.oe
+++ b/gzip/gzip_1.3.5.oe
@@ -0,0 +1,11 @@
+SECTION="base"
+PRIORITY="required"
+MAINTAINER="Greg Gilbert <greg@treke.net>"
+RDEPENDS="libc6"
+DEPENDS=virtual/libc
+
+SRC_URI = ${DEBIAN_MIRROR}/main/g/${PN}/${PN}_${PV}.orig.tar.gz \
+ file://${FILESDIR}/configure.patch;patch=1
+
+S=${WORKDIR}/${PN}-${PV}
+inherit autotools
diff --git a/irda-utils/irda-utils-0.9.15/configure.patch b/irda-utils/irda-utils-0.9.15/configure.patch
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/irda-utils/irda-utils-0.9.15/configure.patch
diff --git a/irda-utils/irda-utils_0.9.15.oe b/irda-utils/irda-utils_0.9.15.oe
index e69de29bb2..e2e90c8192 100644
--- a/irda-utils/irda-utils_0.9.15.oe
+++ b/irda-utils/irda-utils_0.9.15.oe
@@ -0,0 +1,22 @@
+DEPENDS = virtual/libc
+RDEPENDS = libc6
+DESCRIPTION = Provides common files needed to use IrDA.\
+ IrDA allows communication over Infrared with other devices\
+ such as phones and laptops.
+
+SRC_URI = ${SOURCEFORGE_MIRROR}/irda/${P}.tar.gz \
+ file://${FILESDIR}/configure.patch;patch=1
+S = ${WORKDIR}/${P}
+
+inherit autotools libtool
+
+do_compile () {
+ oe_runmake -C irattach
+ oe_runmake -C irdaping
+}
+
+do_install () {
+ install -d ${D}/usr/sbin
+ oe_runmake -C irattach ROOT="${D}" install
+ oe_runmake -C irdaping ROOT="${D}" install
+}
diff --git a/less/less-381/configure.patch b/less/less-381/configure.patch
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/less/less-381/configure.patch
diff --git a/less/less_381.oe b/less/less_381.oe
index 44b187813d..510a99f9a3 100644
--- a/less/less_381.oe
+++ b/less/less_381.oe
@@ -1,7 +1,8 @@
DEPENDS = virtual/libc ncurses
RDEPENDS = libc6 libncurses5
-SRC_URI := ${GNU_MIRROR}/less/less-381.tar.gz
+SRC_URI := ${GNU_MIRROR}/less/less-381.tar.gz \
+ file://${FILESDIR}/configure.patch;patch=1
S := ${WORKDIR}/${P}
inherit autotools
diff --git a/liblockfile/liblockfile-1.05/configure.patch b/liblockfile/liblockfile-1.05/configure.patch
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/liblockfile/liblockfile-1.05/configure.patch
diff --git a/liblockfile/liblockfile_1.05.oe b/liblockfile/liblockfile_1.05.oe
index 452a9c8221..0f9fe563a2 100644
--- a/liblockfile/liblockfile_1.05.oe
+++ b/liblockfile/liblockfile_1.05.oe
@@ -2,7 +2,8 @@ DEPENDS = virtual/libc
RDEPENDS = libc6
SRC_URI = ${DEBIAN_MIRROR}/main/libl/liblockfile/liblockfile_${PV}.tar.gz \
- file:/${FILESDIR}/install.patch;patch=1
+ file:/${FILESDIR}/install.patch;patch=1 \
+ file:/${FILESDIR}/configure.patch;patch=1
inherit autotools
diff --git a/libogg/libogg-1.0.0/configure.patch b/libogg/libogg-1.0.0/configure.patch
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/libogg/libogg-1.0.0/configure.patch
diff --git a/libogg/libogg_1.0.0.oe b/libogg/libogg_1.0.0.oe
index e69de29bb2..d542599c01 100644
--- a/libogg/libogg_1.0.0.oe
+++ b/libogg/libogg_1.0.0.oe
@@ -0,0 +1,27 @@
+SECTION="libs"
+PRIORITY="optional"
+MAINTAINER=""
+RDEPENDS="libc6"
+SECTION="libs"
+DEPENDS=virtual/libc
+
+SRC_URI = "ftp://ftp.debian.org/debian/pool/main/libo/libogg/${PN}_${PV}.orig.tar.gz"
+SRC_URI_append = " file://${FILESDIR}/libogg-configure.patch;patch=1"
+SRC_URI_append = " file://${FILESDIR}/configure.patch;patch=1"
+S=${WORKDIR}/${P}
+
+inherit autotools libtool
+
+do_stage () {
+ install -m 0644 src/.libs/libogg.a ${STAGING_LIBDIR}/
+ install -m 0644 src/.libs/libogg.lai ${STAGING_LIBDIR}/libogg.la
+ install -m 0644 src/.libs/libogg.so.0.4.0 ${STAGING_LIBDIR}/
+ ln -sf libogg.so.0.4.0 ${STAGING_LIBDIR}/libogg.so.0
+ ln -sf libogg.so.0.4.0 ${STAGING_LIBDIR}/libogg.so
+
+ install -d ${STAGING_LIBDIR}/ogg
+ (cd include/ogg; cp config_types.h ogg.h os_types.h ${STAGING_LIBDIR}/ogg/)
+
+ install -d ${STAGING_DIR}/share/aclocal
+ install -m 0644 ogg.m4 ${STAGING_DIR}/share/aclocal/ogg.m4
+}
diff --git a/libpcap/libpcap-0.7.2/configure.patch b/libpcap/libpcap-0.7.2/configure.patch
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/libpcap/libpcap-0.7.2/configure.patch
diff --git a/libpcap/libpcap_0.7.2.oe b/libpcap/libpcap_0.7.2.oe
index e69de29bb2..a7049a31bb 100644
--- a/libpcap/libpcap_0.7.2.oe
+++ b/libpcap/libpcap_0.7.2.oe
@@ -0,0 +1,26 @@
+DESCRIPTION="Network Packet Capture Library"
+SECTION="libs"
+PRIORITY="required"
+MAINTAINER="Greg Gilbert <treke@handhelds.org>"
+RDEPENDS="libc6"
+
+SRC_URI=http://www.tcpdump.org/release/libpcap-${PV}.tar.gz;
+SRC_URI_append=" file://${FILESDIR}/libpcap-shared.patch;patch=1"
+SRC_URI_append=" file://${FILESDIR}/configure.patch;patch=1"
+DEPENDS=virtual/libc
+S=${WORKDIR}/libpcap-${PV}
+
+inherit autotools
+EXTRA_OECONF=" --with-pcap=linux"
+
+do_stage () {
+ install -d ${STAGING_DIR}/target/include/net
+ install -m 0644 net/bpf.h ${STAGING_DIR}/target/include/net/bpf.h
+ install -m 0644 pcap.h ${STAGING_DIR}/target/include/pcap.h
+ install -m 0644 pcap-namedb.h ${STAGING_DIR}/target/include/pcap-namedb.h
+ install -m 0755 libpcap.so.${PV} ${STAGING_LIBDIR}/
+ ln -sf libpcap.so.${PV} ${STAGING_LIBDIR}/libpcap.so.0.7
+ ln -sf libpcap.so.${PV} ${STAGING_LIBDIR}/libpcap.so.0
+ ln -sf libpcap.so.${PV} ${STAGING_LIBDIR}/libpcap.so
+ install -m 0644 libpcap.a ${STAGING_LIBDIR}/
+}
diff --git a/mailutils/mailutils-0.3.1/configure.patch b/mailutils/mailutils-0.3.1/configure.patch
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/mailutils/mailutils-0.3.1/configure.patch
diff --git a/mailutils/mailutils_0.3.1.oe b/mailutils/mailutils_0.3.1.oe
index e69de29bb2..1e0a8eba87 100644
--- a/mailutils/mailutils_0.3.1.oe
+++ b/mailutils/mailutils_0.3.1.oe
@@ -0,0 +1,10 @@
+DEPENDS = virtual/libc
+RDEPENDS = libc6
+
+SRC_URI := ${GNU_MIRROR}/mailutils/mailutils-0.3.1.tar.bz2 \
+ file://${FILESDIR}/configure.patch;patch=1
+S := ${WORKDIR}/${P}
+
+inherit autotools
+
+EXTRA_OECONF = --disable-pam --program-prefix=
diff --git a/modutils/modutils-2.4.25-r0/configure.patch b/modutils/modutils-2.4.25-r0/configure.patch
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/modutils/modutils-2.4.25-r0/configure.patch
diff --git a/modutils/modutils_2.4.25.oe b/modutils/modutils_2.4.25.oe
index e69de29bb2..cfee450fab 100644
--- a/modutils/modutils_2.4.25.oe
+++ b/modutils/modutils_2.4.25.oe
@@ -0,0 +1,9 @@
+SRC_URI = ftp://ftp.kernel.org/pub/linux/utils/kernel/${PN}/v2.4/${P}.tar.bz2 \
+ file://${FILESDIR}/modutils-notest.patch;patch=1 \
+ file://${FILESDIR}/configure.patch;patch=1
+S = ${WORKDIR}/${P}
+
+inherit autotools
+
+EXTRA_OECONF = --disable-strip
+export BUILDCC = ${BUILD_CC}
diff --git a/mp3blaster/mp3blaster-3.1.3/configure.patch b/mp3blaster/mp3blaster-3.1.3/configure.patch
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/mp3blaster/mp3blaster-3.1.3/configure.patch
diff --git a/mp3blaster/mp3blaster_3.1.3.oe b/mp3blaster/mp3blaster_3.1.3.oe
index e69de29bb2..e731850f09 100644
--- a/mp3blaster/mp3blaster_3.1.3.oe
+++ b/mp3blaster/mp3blaster_3.1.3.oe
@@ -0,0 +1,13 @@
+DEPENDS = virtual/libc ncurses
+RDEPENDS = libc6 libncurses
+
+SRC_URI = http://www.stack.nl/~brama/mp3blaster/src/mp3blaster-3.1.3.tar.gz \
+ file://${FILESDIR}/includedir.patch;patch=1 \
+ file://${FILESDIR}/configure.patch;patch=1
+S = ${WORKDIR}/${P}
+
+inherit autotools
+
+EXTRA_OECONF = '--with-x=no'
+
+# TODO: after adding libvorbis to OE, add --with-oggvorbis
diff --git a/mutt/mutt-1.5.4i/configure.patch b/mutt/mutt-1.5.4i/configure.patch
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/mutt/mutt-1.5.4i/configure.patch
diff --git a/mutt/mutt_1.5.4i.oe b/mutt/mutt_1.5.4i.oe
index e69de29bb2..779f06dd58 100644
--- a/mutt/mutt_1.5.4i.oe
+++ b/mutt/mutt_1.5.4i.oe
@@ -0,0 +1,27 @@
+DEPENDS = virtual/libc ncurses openssl
+RDEPENDS = libc6 libncurses5 libssl0
+
+SRC_URI := ftp://ftp.mutt.org/mutt/devel/mutt-1.5.4i.tar.gz \
+ http://mutt.kiev.ua/download/mutt-1.5.4/patch-1.5.4.rr.compressed.gz;patch=1 \
+ http://mutt.kiev.ua/download/mutt-1.5.4/patch-1.5.4.vvv.nntp.gz;patch=1 \
+ http://mutt.kiev.ua/download/mutt-1.5.4/patch-1.5.4.vvv.initials.gz;patch=1 \
+ http://mutt.kiev.ua/download/mutt-1.5.4/patch-1.5.4.vvv.quote.gz;patch=1 \
+ file://${FILESDIR}/cppflags.patch;patch=1 \
+ file://${FILESDIR}/posix1_lim.patch;patch=1 \
+ file://${FILESDIR}/configure.patch;patch=1
+S := ${WORKDIR}/${PN}-1.5.4
+
+inherit autotools
+
+EXTRA_OECONF = --disable-pgp --without-mixmaster --with-curses=${STAGING_DIR}/target \
+ --enable-pop --enable-imap --with-ssl --enable-compressed --enable-nntp
+
+do_configure_prepend () {
+ if [ -d ${STAGING_DIR}/share/aclocal ]; then
+ cp -a m4/*.m4 ${STAGING_DIR}/share/aclocal/
+ fi
+}
+
+do_compile_prepend () {
+ ${BUILD_CC} makedoc.c -o makedoc
+}
diff --git a/ncftp/ncftp-3.1.6/configure.patch b/ncftp/ncftp-3.1.6/configure.patch
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/ncftp/ncftp-3.1.6/configure.patch
diff --git a/ncftp/ncftp_3.1.6.oe b/ncftp/ncftp_3.1.6.oe
index e69de29bb2..0c42165ce3 100644
--- a/ncftp/ncftp_3.1.6.oe
+++ b/ncftp/ncftp_3.1.6.oe
@@ -0,0 +1,19 @@
+DEPENDS = virtual/libc
+RDEPENDS = libc6
+
+SRC_URI := ftp://ftp.ncftp.com/ncftp/ncftp-3.1.6-src.tar.bz2 \
+ file://${FILESDIR}/configure.patch;patch=1
+S := ${WORKDIR}/${P}
+
+inherit autotools
+
+do_configure_prepend () {
+ install -m 0644 autoconf/aclocal.m4 acinclude.m4
+}
+
+do_install () {
+ install -d ${D}/${bindir} ${D}/${prefix} ${D}/${sysconfdir} ${D}/${mandir}
+ oe_runmake 'prefix=${D}/${prefix}' 'BINDIR=${D}/${bindir}' \
+ 'SYSCONFDIR=${D}/${sysconfdir}' 'mandir=${D}/${mandir}' \
+ install
+}
diff --git a/ncurses/ncurses/configure.patch b/ncurses/ncurses/configure.patch
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/ncurses/ncurses/configure.patch
diff --git a/ncurses/ncurses_5.3.oe b/ncurses/ncurses_5.3.oe
index e69de29bb2..ff857f0ee0 100644
--- a/ncurses/ncurses_5.3.oe
+++ b/ncurses/ncurses_5.3.oe
@@ -0,0 +1,47 @@
+BaseV := ${PV}
+SnapV := 20030906
+PV = ${BaseV}.${SnapV}
+
+DESCRIPTION="Ncurses library"
+SECTION="libs"
+DEPENDS=virtual/libc
+PROVIDES=${PV}-${BaseV} ${PV}-${BaseV}-${PR} \
+ ${CATEGORY}/${PN}-${BaseV} ${CATEGORY}/${PN}-${BaseV}-${PR}
+SRC_URI = ${GNU_MIRROR}/ncurses/${PN}-${BaseV}.tar.gz \
+ file://${FILESDIR}/${SnapV}.patch;patch=1 \
+ file://${FILESDIR}/configure.patch;patch=1
+S = ${WORKDIR}/${PN}-${BaseV}
+
+inherit autotools
+
+EXTRA_OECONF=--with-shared \
+ --without-profile \
+ --without-debug \
+ --disable-rpath \
+ --enable-echo \
+ --enable-const \
+ --without-ada \
+ --enable-termcap \
+ --without-cxx-binding \
+ --with-terminfo-dirs=/etc/terminfo:/usr/share/terminfo \
+ --enable-overwrite
+export BUILD_CC := ${BUILD_CC}
+export BUILD_CCFLAGS=-I${S}/ncurses -I${S}/include ${BUILD_CFLAGS}
+export BUILD_LDFLAGS=
+
+do_compile () {
+ oe_runmake BUILD_LDFLAGS="" 'BUILD_CCFLAGS=${BUILD_CCFLAGS}'
+}
+
+do_stage () {
+ install -m 0755 lib/lib*.so.* ${STAGING_LIBDIR}/
+ for h in ncurses_*.h curses.h eti.h form.h menu.h panel.h \
+ termcap.h term.h unctrl.h; do
+ install -m 0644 include/$h ${STAGING_DIR}/target/include/
+ done
+ ln -sf curses.h ${STAGING_DIR}/target/include/ncurses.h
+ ln -sf libpanel.so.5.3 ${STAGING_LIBDIR}/libpanel.so
+ ln -sf libform.so.5.3 ${STAGING_LIBDIR}/libform.so
+ ln -sf libmenu.so.5.3 ${STAGING_LIBDIR}/libmenu.so
+ ln -sf libncurses.so.5.3 ${STAGING_LIBDIR}/libncurses.so
+}
diff --git a/ntp/ntp-4.1.2/configure.patch b/ntp/ntp-4.1.2/configure.patch
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/ntp/ntp-4.1.2/configure.patch
diff --git a/ntp/ntp_4.1.2.oe b/ntp/ntp_4.1.2.oe
index e69de29bb2..aafe8d3e14 100644
--- a/ntp/ntp_4.1.2.oe
+++ b/ntp/ntp_4.1.2.oe
@@ -0,0 +1,11 @@
+DEPENDS = virtual/libc openssl
+
+SRC_URI = http://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/${P}.tar.gz \
+ file://${FILESDIR}/configure.patch;patch=1
+S = ${WORKDIR}/${P}
+
+inherit autotools
+
+EXTRA_OECONF = --with-openssl-libdir=${STAGING_LIBDIR} \
+ --with-openssl-incdir=${STAGING_DIR}/target/include/openssl
+CFLAGS_append = " -DPTYS_ARE_GETPT -DPTYS_ARE_SEARCHED"
diff --git a/openssh/openssh-3.7.1p1/configure.patch b/openssh/openssh-3.7.1p1/configure.patch
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/openssh/openssh-3.7.1p1/configure.patch
diff --git a/openssh/openssh-3.7.1p2/configure.patch b/openssh/openssh-3.7.1p2/configure.patch
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/openssh/openssh-3.7.1p2/configure.patch
diff --git a/openssh/openssh_3.7.1p1.oe b/openssh/openssh_3.7.1p1.oe
index e69de29bb2..5f2f45fb16 100644
--- a/openssh/openssh_3.7.1p1.oe
+++ b/openssh/openssh_3.7.1p1.oe
@@ -0,0 +1,30 @@
+DEPENDS = virtual/libc zlib openssl
+SECTION = net
+DESCRIPTION = Secure rlogin/rsh/rcp/telnet replacement (OpenSSH)\
+ Ssh (Secure Shell) is a program for logging into a remote machine\
+ and for executing commands on a remote machine.\
+ It provides secure encrypted communications between two untrusted\
+ hosts over an insecure network. X11 connections and arbitrary TCP/IP\
+ ports can also be forwarded over the secure channel.\
+ It is intended as a replacement for rlogin, rsh and rcp, and can be\
+ used to provide applications with a secure communication channel.
+
+SRC_URI = ftp://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/openssh-${PV}.tar.gz \
+ file://${FILESDIR}/configure.patch;patch=1 \
+ file://${FILESDIR}/scp-nossl.patch;patch=1
+S = ${WORKDIR}/${P}
+
+inherit autotools
+
+export sysconfdir = /etc/ssh
+export ASKPASS_PROGRAM = /usr/bin/ssh-askpass
+export LD = ${CC}
+CFLAGS_prepend = "-I${S} "
+CFLAGS_append = " -D__FILE_OFFSET_BITS=64"
+LDFLAGS_prepend = "-L${S} -L${S}/openbsd-compat "
+EXTRA_OECONF = --disable-suid-ssh --with-ssl=${STAGING_LIBDIR}/ssl \
+ --with-rand-helper=no --without-pam
+
+do_compile_append () {
+ install -m 0644 ${FILESDIR}/sshd_config ${S}/
+}
diff --git a/openssh/openssh_3.7.1p2.oe b/openssh/openssh_3.7.1p2.oe
index e69de29bb2..5f2f45fb16 100644
--- a/openssh/openssh_3.7.1p2.oe
+++ b/openssh/openssh_3.7.1p2.oe
@@ -0,0 +1,30 @@
+DEPENDS = virtual/libc zlib openssl
+SECTION = net
+DESCRIPTION = Secure rlogin/rsh/rcp/telnet replacement (OpenSSH)\
+ Ssh (Secure Shell) is a program for logging into a remote machine\
+ and for executing commands on a remote machine.\
+ It provides secure encrypted communications between two untrusted\
+ hosts over an insecure network. X11 connections and arbitrary TCP/IP\
+ ports can also be forwarded over the secure channel.\
+ It is intended as a replacement for rlogin, rsh and rcp, and can be\
+ used to provide applications with a secure communication channel.
+
+SRC_URI = ftp://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/openssh-${PV}.tar.gz \
+ file://${FILESDIR}/configure.patch;patch=1 \
+ file://${FILESDIR}/scp-nossl.patch;patch=1
+S = ${WORKDIR}/${P}
+
+inherit autotools
+
+export sysconfdir = /etc/ssh
+export ASKPASS_PROGRAM = /usr/bin/ssh-askpass
+export LD = ${CC}
+CFLAGS_prepend = "-I${S} "
+CFLAGS_append = " -D__FILE_OFFSET_BITS=64"
+LDFLAGS_prepend = "-L${S} -L${S}/openbsd-compat "
+EXTRA_OECONF = --disable-suid-ssh --with-ssl=${STAGING_LIBDIR}/ssl \
+ --with-rand-helper=no --without-pam
+
+do_compile_append () {
+ install -m 0644 ${FILESDIR}/sshd_config ${S}/
+}
diff --git a/psmisc/psmisc-20.2/configure.patch b/psmisc/psmisc-20.2/configure.patch
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/psmisc/psmisc-20.2/configure.patch
diff --git a/psmisc/psmisc_20.2.oe b/psmisc/psmisc_20.2.oe
index e69de29bb2..e924b221ac 100644
--- a/psmisc/psmisc_20.2.oe
+++ b/psmisc/psmisc_20.2.oe
@@ -0,0 +1,12 @@
+DESCRIPTION="procfs tools"
+SECTION="base"
+PRIORITY="required"
+MAINTAINER="Greg Gilbert <greg@treke.net>"
+RDEPENDS="libc6 libncurses5"
+DEPENDS=virtual/libc libncurses
+
+SRC_URI="${SOURCEFORGE_MIRROR}/psmisc/psmisc-20.2.tar.gz \
+ file://${FILESDIR}/configure.patch;patch=1"
+S="${WORKDIR}/${P}"
+
+inherit autotools
diff --git a/ssmtp/ssmtp-2.60.4/configure.patch b/ssmtp/ssmtp-2.60.4/configure.patch
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/ssmtp/ssmtp-2.60.4/configure.patch
diff --git a/ssmtp/ssmtp_2.60.4.oe b/ssmtp/ssmtp_2.60.4.oe
index e69de29bb2..c173629dff 100644
--- a/ssmtp/ssmtp_2.60.4.oe
+++ b/ssmtp/ssmtp_2.60.4.oe
@@ -0,0 +1,22 @@
+DEPENDS = virtual/libc openssl
+RDEPENDS = libc6 libssl
+
+SRC_URI := ${DEBIAN_MIRROR}/main/s/ssmtp/ssmtp_2.60.4.tar.gz \
+ file://${FILESDIR}/ldflags.patch;patch=1 \
+ file://${FILESDIR}/configure.patch;patch=1
+S := ${WORKDIR}/${PN}-2.60
+
+inherit autotools
+
+EXTRA_OECONF = --enable-ssl
+do_compile () {
+ oe_runmake 'LDFLAGS=${LDFLAGS}'
+}
+
+do_install () {
+ oe_runmake 'prefix=${D}/${prefix}' 'exec_prefix=${D}/${exec_prefix}' \
+ 'bindir=${D}/${bindir}' 'mandir=${D}/${mandir}' \
+ 'etcdir=${D}/${sysconfdir}' GEN_CONFIG="`which echo`" install
+ install -d ${D}/${sysconfdir}/ssmtp
+ install -m 0644 ${FILESDIR}/ssmtp.conf ${D}/${sysconfdir}/ssmtp/ssmtp.conf
+}
diff --git a/tslib/tslib.oe b/tslib/tslib.oe
index 72dfe7d94b..069dae47c1 100644
--- a/tslib/tslib.oe
+++ b/tslib/tslib.oe
@@ -6,6 +6,7 @@ SRC_URI_append = " file://${FILESDIR}/pointercal.patch;patch=1"
SRC_URI_append = " file://${FILESDIR}/automake.patch;patch=1"
SRC_URI_append = " file://${FILESDIR}/multievent.patch;patch=1"
SRC_URI_append = " file://${FILESDIR}/envvar_doc.patch;patch=1"
+SRC_URI_append = " file://${FILESDIR}/configure.patch;patch=1"
#SRC_URI_append = " file://${FILESDIR}/raw.patch;patch=1"
#SRC_URI_append = " file://${FILESDIR}/collie-module.patch;patch=1"
S = ${WORKDIR}/${PN}
diff --git a/tslib/tslib/configure.patch b/tslib/tslib/configure.patch
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/tslib/tslib/configure.patch