From 101e3c69d5d331b95214f00b8d84300ae72b73d1 Mon Sep 17 00:00:00 2001 From: Daniel Mierswa Date: Tue, 20 Jan 2009 11:42:00 +0100 Subject: [PATCH] ::unavailable breaks, but we need mozilla.exlib --- exlibs/mozilla.exlib | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 exlibs/mozilla.exlib diff --git a/exlibs/mozilla.exlib b/exlibs/mozilla.exlib new file mode 100644 index 0000000..45ef38a --- /dev/null +++ b/exlibs/mozilla.exlib @@ -0,0 +1,19 @@ +# Copyright 2008 Bernd Steinhauser +# Distributed under the terms of the GNU General Public License v2 + +require multilib + +export_exlib_phases src_prepare + +mozilla_src_prepare() { + default + + sed \ + -e "/^installdir/ c installdir = /usr/$(get_libdir)/${PN}" \ + -e "/^includedir/ c includedir = /usr/include/${PN}" \ + -e "/^idldir/ c idldir = /usr/share/idl/${PN}" \ + -e "/^sdkdir/ c sdkdir = /usr/$(get_libdir)/${PN}-devel" \ + -i "${WORKBASE}"/mozilla/config/autoconf.mk.in \ + || die "sed failed." +} +