Magellan Linux

Diff of /trunk/core/attr/attr-2.4.43-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 3093 by niro, Tue Oct 13 12:31:34 2009 UTC revision 3094 by niro, Tue Oct 13 12:37:51 2009 UTC
# Line 43  src_prepare() Line 43  src_prepare()
43   include/builddefs.in \   include/builddefs.in \
44   || die   || die
45    
46   # extreme dirty fix:   # libtool fixes
47   # it complains always about:   sed -i -e '/autoconf/d' -e 's@default: $(CONFIGURE)@default:@' Makefile || die
48   # libtool: compile: unable to infer tagged configuration   sed -i "/AC_OUTPUT/i\AC_PROG_LIBTOOL" configure.in || die
  # libtool: compile: specify a tag with `--tag'  
  # make: *** [parser.o] Error 1  
  #  
  # to fix that we set the needed tag to libtool:  
  # --tag=CXX  
  sed -i '/^LIBTOOL/s:=.*:= @LIBTOOL@ --tag=CC:g' \  
  include/builddefs.in || die  
49    
50   # libtool will clobber install-sh which is really a custom file   # libtool will clobber install-sh which is really a custom file
51   mv install-sh attr.install-sh || die   mv install-sh attr.install-sh || die
52   autoreconf --install --force --verbose || die   mlibtoolize --install --force || die
53   mv attr.install-sh install-sh || die   mv attr.install-sh install-sh || die
54     aclocal -I m4 || die
55     autoconf || die
56  }  }
57    
58  src_compile()  src_compile()
# Line 77  src_compile() Line 72  src_compile()
72   --enable-gettext \   --enable-gettext \
73   || die   || die
74    
75   mmake -j1 || die   mmake LIBTOOL=$PWD/libtool || die
76  }  }
77    
78  src_install()  src_install()
79  {  {
80   cd ${SRCDIR}   cd ${SRCDIR}
81   mmake -j1 DIST_ROOT=${BINDIR} install install-dev install-lib || die   mmake LIBTOOL=$PWD/libtool DIST_ROOT=${BINDIR} install install-dev install-lib || die
82   minstalldocs README VERSION doc/{CHANGES,COPYING} || die   minstalldocs README VERSION doc/{CHANGES,COPYING} || die
83    
84   # provided by man-pages   # provided by man-pages

Legend:
Removed from v.3093  
changed lines
  Added in v.3094