From 5aa2d7527764c179fd31c1c3505b572773224c94 Mon Sep 17 00:00:00 2001 From: root Date: Wed, 10 Apr 2013 00:05:35 -0700 Subject: Wed Apr 10 00:05:35 PDT 2013 --- libre/iceweasel-libre/PKGBUILD | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'libre/iceweasel-libre') diff --git a/libre/iceweasel-libre/PKGBUILD b/libre/iceweasel-libre/PKGBUILD index 6dc52a213..283d6e088 100644 --- a/libre/iceweasel-libre/PKGBUILD +++ b/libre/iceweasel-libre/PKGBUILD @@ -22,7 +22,7 @@ debfile() { echo $@|sed -r 's@(.).*@\1/&/&@'; } _pkgname=iceweasel pkgname=iceweasel-libre pkgver=$_debver.$_debrel -pkgrel=1 +pkgrel=2 pkgdesc="A libre version of Debian Iceweasel, the standalone web browser based on Mozilla Firefox." arch=('i686' 'x86_64' 'mips64el') @@ -36,8 +36,10 @@ if $_pgo; then fi optdepends=('networkmanager: Location detection via available WiFi networks') -url="http://www.geticeweasel.org/" +url="http://packages.debian.org/experimental/${_pkgname}" install=iceweasel.install +replaces=('firefox') +conflicts=('firefox') provides=('firefox') source=("$_debrepo/`debfile $_debname`_$_debver.orig.tar.bz2" "$_debrepo/`debfile $_debname`_$_debver-$_debrel.debian.tar.gz" @@ -142,10 +144,16 @@ build() { fi if $_pgo; then + unset CPPFLAGS + export CFLAGS="$CFLAGS -D_FORTIFY_SOURCE=2" + export CXXFLAGS="$CXXFLAGS -D_FORTIFY_SOURCE=2" LD_PRELOAD="" /usr/bin/Xvfb -nolisten tcp -extension GLX -screen 0 1280x1024x24 :99 & LD_PRELOAD="" DISPLAY=:99 make -j1 -f client.mk profiledbuild MOZ_MAKE_FLAGS="$MAKEFLAGS" kill $! || true else + unset CPPFLAGS + export CFLAGS="$CFLAGS -D_FORTIFY_SOURCE=2" + export CXXFLAGS="$CXXFLAGS -D_FORTIFY_SOURCE=2" LD_PRELOAD="" make -j1 -f client.mk build MOZ_MAKE_FLAGS="$MAKEFLAGS" fi } -- cgit v1.2.3-54-g00ecf