diff options
Diffstat (limited to 'openembedded/packages/xt')
-rw-r--r-- | openembedded/packages/xt/files/autofoo.patch | 20 | ||||
-rw-r--r-- | openembedded/packages/xt/xt_0.1.5.bb | 28 |
2 files changed, 48 insertions, 0 deletions
diff --git a/openembedded/packages/xt/files/autofoo.patch b/openembedded/packages/xt/files/autofoo.patch new file mode 100644 index 000000000..ff6dfdbbc --- /dev/null +++ b/openembedded/packages/xt/files/autofoo.patch @@ -0,0 +1,20 @@ + +# +# Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher +# + +--- libXt-0.1.5/configure.ac~autofoo 2004-05-06 20:19:04.000000000 -0400 ++++ libXt-0.1.5/configure.ac 2005-01-18 13:10:13.683262728 -0500 +@@ -28,11 +28,11 @@ + dnl + dnl + AC_INIT(libXt, 0.1.5, [keithp@keithp.com], libXt) ++AC_CONFIG_AUX_DIR(.) + AM_INIT_AUTOMAKE([dist-bzip2]) + AM_MAINTAINER_MODE + + AM_CONFIG_HEADER(config.h) +-AC_CONFIG_AUX_DIR(.) + + # Check for progs + AC_PROG_CC diff --git a/openembedded/packages/xt/xt_0.1.5.bb b/openembedded/packages/xt/xt_0.1.5.bb new file mode 100644 index 000000000..1d0d79458 --- /dev/null +++ b/openembedded/packages/xt/xt_0.1.5.bb @@ -0,0 +1,28 @@ +SECTION = "x11/libs" +PRIORITY = "optional" +MAINTAINER = "Phil Blundell <pb@handhelds.org>" +DEPENDS = "x11 libsm" +DESCRIPTION = "X Toolkit Intrinsics" +LICENSE = "X-MIT" +PR = "r1" +SRC_URI = "${XLIBS_MIRROR}/libXt-${PV}.tar.bz2 \ + file://autofoo.patch;patch=1" +S = "${WORKDIR}/libXt-${PV}" + +PARALLEL_MAKE = "" + +inherit autotools pkgconfig + +#nasty hack as utils need to be native +do_compile() { + ( + unset CC LD CXX CCLD +# unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS + oe_runmake -C util 'CFLAGS=' 'LDFLAGS=' 'CXXFLAGS=' 'CPPFLAGS=' makestrs + ) + oe_runmake +} + +do_stage () { + oe_runmake install DESTDIR="" bindir=${STAGING_BINDIR} includedir=${STAGING_INCDIR} libdir=${STAGING_LIBDIR} prefix=${STAGING_DIR} +} |