summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
Diffstat (limited to 'packages')
-rw-r--r--packages/xorg-lib/libxt-native_1.0.5.bb20
1 files changed, 4 insertions, 16 deletions
diff --git a/packages/xorg-lib/libxt-native_1.0.5.bb b/packages/xorg-lib/libxt-native_1.0.5.bb
index 4190a1158b..f3603ee074 100644
--- a/packages/xorg-lib/libxt-native_1.0.5.bb
+++ b/packages/xorg-lib/libxt-native_1.0.5.bb
@@ -1,19 +1,7 @@
-require xorg-lib-common.inc
+require libxt_${PV}.bb
-DESCRIPTION = "X11 toolkit intrinsics library"
-DEPENDS += "libsm virtual/libx11 kbproto"
-PROVIDES = "xt"
-PR = "r1"
-PE = "1"
+inherit native
-XORG_PN = "libXt"
-
-EXTRA_OECONF += "--disable-install-makestrs --disable-xkb"
+DEPENDS = "libx11-native libsm-native kbproto-native"
-do_compile() {
- (
- unset CC LD CXX CCLD
- oe_runmake -C util 'XT_CFLAGS=' 'CC=${BUILD_CC}' 'LD=${BUILD_LD}' 'CXX=${BUILD_CXX}' 'CCLD=${BUILD_CCLD}' 'CFLAGS=-D_GNU_SOURCE -I${STAGING_INCDIR_NATIVE} ${BUILD_CFLAGS}' 'LDFLAGS=${BUILD_LDFLAGS}' 'CXXFLAGS=${BUILD_CXXFLAGS}' 'CPPFLAGS=${BUILD_CPPFLAGS}' makestrs
- ) || exit 1
- oe_runmake
-}
+XORG_PN = "libXt"