Browse Source

libxt: fixed crosscompilation

user/amery/next/uclibc
Alejandro Mery 13 years ago
parent
commit
23353d9ab1
  1. 27
      xorg/libxt/hostcc.patch.cross
  2. 20
      xorg/libxt/libxt.conf

27
xorg/libxt/hostcc.patch.cross

@ -1,27 +0,0 @@
# --- SDE-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# Filename: package/.../libxt/hostcc.patch.cross
# Copyright (C) 2010 The OpenSDE Project
#
# More information can be found in the files COPYING and README.
#
# This patch file is dual-licensed. It is available under the license the
# patched project is licensed under, as long as it is an OpenSource license
# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
# of the GNU General Public License as published by the Free Software
# Foundation; either version 2 of the License, or (at your option) any later
# version.
# --- SDE-COPYRIGHT-NOTE-END ---
--- ./util/Makefile.in.orig 2010-05-03 13:55:24.000000000 -0400
+++ ./util/Makefile.in 2010-05-03 13:55:45.000000000 -0400
@@ -57,7 +57,7 @@
am__v_lt_ = $(am__v_lt_$(AM_DEFAULT_VERBOSITY))
am__v_lt_0 = --silent
makestrs_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
- $(LIBTOOLFLAGS) --mode=link $(CCLD) $(makestrs_CFLAGS) \
+ $(LIBTOOLFLAGS) --mode=link $(HOSTCC) $(makestrs_CFLAGS) \
$(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)
depcomp = $(SHELL) $(top_srcdir)/depcomp

20
xorg/libxt/libxt.conf

@ -0,0 +1,20 @@
# --- SDE-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# Filename: package/.../libxt/libxt.conf
# Copyright (C) 2012 The OpenSDE Project
#
# More information can be found in the files COPYING and README.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; version 2 of the License. A copy of the
# GNU General Public License can be found in the file COPYING.
# --- SDE-COPYRIGHT-NOTE-END ---
if ! atstage native; then
make_native_mkestrs() {
eval $MAKE -C util CC=$HOSTCC makestrs
}
hook_add premake 5 'make_native_mkestrs'
fi
Loading…
Cancel
Save