summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2015-12-05 20:25:55 +0100
committerLars Wendler <polynomial-c@gentoo.org>2015-12-05 20:26:07 +0100
commit5e5a77a9e15f310a6dfa4bb1993ed6748322462d (patch)
treec97d31beb788b2d278362dcf7aa7827883eae308 /dev-util/unifdef/unifdef-2.11.ebuild
parentAdd some warnings for those running drupal with a web server other than apach... (diff)
downloadgentoo-5e5a77a9e15f310a6dfa4bb1993ed6748322462d.tar.gz
gentoo-5e5a77a9e15f310a6dfa4bb1993ed6748322462d.tar.bz2
gentoo-5e5a77a9e15f310a6dfa4bb1993ed6748322462d.zip
dev-util/unifdef: Bump to version 2.11
Package-Manager: portage-2.2.26 Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
Diffstat (limited to 'dev-util/unifdef/unifdef-2.11.ebuild')
-rw-r--r--dev-util/unifdef/unifdef-2.11.ebuild21
1 files changed, 21 insertions, 0 deletions
diff --git a/dev-util/unifdef/unifdef-2.11.ebuild b/dev-util/unifdef/unifdef-2.11.ebuild
new file mode 100644
index 000000000000..5a937489bd27
--- /dev/null
+++ b/dev-util/unifdef/unifdef-2.11.ebuild
@@ -0,0 +1,21 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+inherit toolchain-funcs
+
+DESCRIPTION="remove #ifdef'ed lines from a file while otherwise leaving the file alone"
+HOMEPAGE="http://dotat.at/prog/unifdef/"
+SRC_URI="http://dotat.at/prog/unifdef/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 -sparc-fbsd -x86-fbsd ~amd64-linux ~x86-linux"
+
+DOCS=( README )
+
+src_prepare() {
+ sed -i '/^prefix/s:=.*:=/usr:' Makefile || die
+ tc-export CC
+}