Browse Source

attr: Removed libtool hackery

crossperl
Alejandro Mery 17 years ago
parent
commit
cc78e83780
  1. 5
      base/attr/attr.conf
  2. 31
      base/attr/libtool_tag.patch

5
base/attr/attr.conf

@ -31,8 +31,3 @@ var_append flistrfilter '|' ".*:.*/man/.*"
# install missing .la file
hook_add inmake 9 "cp -av libattr/libattr.la $root$libdir/; sed -i 's,installed=no,installed=yes,' $root$libdir/libattr.la"
if atstage cross; then
pkgprefix -t libtool
var_append configcache ' ' "ac_cv_path_LIBTOOL=$root$( pkgprefix bindir libtool )/libtool"
fi

31
base/attr/libtool_tag.patch

@ -1,31 +0,0 @@
# --- SDE-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# Filename: package/.../attr/libtool_tag.patch
# Copyright (C) 2007 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 ---
--- ./include/buildmacros.orig 2007-06-25 05:46:58.000000000 -0400
+++ ./include/buildmacros 2007-06-25 05:47:18.000000000 -0400
@@ -41,10 +41,10 @@
LTOBJECTS = $(OBJECTS:.o=.lo)
LTVERSION = $(LT_CURRENT):$(LT_REVISION):$(LT_AGE)
-LTLINK = $(LIBTOOL) --mode=link $(CC)
+LTLINK = $(LIBTOOL) --mode=link --tag=gcc $(CC)
LTEXEC = $(LIBTOOL) --mode=execute
LTINSTALL = $(LIBTOOL) --mode=install $(INSTALL)
-LTCOMPILE = $(LIBTOOL) --mode=compile $(CCF)
+LTCOMPILE = $(LIBTOOL) --mode=compile --tag=gcc $(CCF)
ifeq ($(ENABLE_SHARED),yes)
LTLDFLAGS += -rpath $(PKG_LIB_DIR)
Loading…
Cancel
Save