/[gentoo-x86]/app-admin/setools/setools-3.3.7-r3.ebuild
Gentoo

Diff of /app-admin/setools/setools-3.3.7-r3.ebuild

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

Revision 1.2 Revision 1.3
1# Copyright 1999-2012 Gentoo Foundation 1# Copyright 1999-2012 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/app-admin/setools/Attic/setools-3.3.7-r3.ebuild,v 1.2 2012/06/26 04:59:51 floppym Exp $ 3# $Header: /var/cvsroot/gentoo-x86/app-admin/setools/Attic/setools-3.3.7-r3.ebuild,v 1.3 2012/07/09 20:40:04 swift Exp $
4 4
5EAPI="2" 5EAPI="2"
6PYTHON_DEPEND="python? *" 6PYTHON_DEPEND="python? *"
7SUPPORT_PYTHON_ABIS="1" 7SUPPORT_PYTHON_ABIS="1"
8RESTRICT_PYTHON_ABIS="*-jython *-pypy-*" 8RESTRICT_PYTHON_ABIS="*-jython *-pypy-*"
87 sed -e "s/MAYBE_PYSWIG = python/MAYBE_PYSWIG =/" -i ${dir%python}Makefile.am || die "sed failed" 87 sed -e "s/MAYBE_PYSWIG = python/MAYBE_PYSWIG =/" -i ${dir%python}Makefile.am || die "sed failed"
88 # Make PYTHON_LDFLAGS replaceable during running `make`. 88 # Make PYTHON_LDFLAGS replaceable during running `make`.
89 sed -e "/^AM_LDFLAGS =/s/@PYTHON_LDFLAGS@/\$(PYTHON_LDFLAGS)/" -i ${dir}/Makefile.am || die "sed failed" 89 sed -e "/^AM_LDFLAGS =/s/@PYTHON_LDFLAGS@/\$(PYTHON_LDFLAGS)/" -i ${dir}/Makefile.am || die "sed failed"
90 done 90 done
91 91
92 # temporary work around bug #424581 until automake-1.12 is stable (then
93 # depend on it). Need to use MKDIR_P in the mean time for 1.12+.
94 has_version ">=sys-devel/automake-1.12.1" && { find . -name 'Makefile.*' -exec sed -i -e 's:mkdir_p:MKDIR_P:g' {} + || die; }
95
92 eautoreconf 96 eautoreconf
93 97
94 # Disable byte-compilation of Python modules. 98 # Disable byte-compilation of Python modules.
95 echo '#!/bin/sh' > py-compile 99 echo '#!/bin/sh' > py-compile
96} 100}

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

  ViewVC Help
Powered by ViewVC 1.1.20