From: hackbard Date: Fri, 23 Jul 2004 13:38:01 +0000 (+0000) Subject: corrected optimize flag X-Git-Url: https://hackdaworld.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dc7a17649b5dd92f3b0946de8a6e6bc9d4877707;p=hdw-linux%2Fhdw-linux.git corrected optimize flag --- diff --git a/packages/x11/mozilla/mozilla b/packages/x11/mozilla/mozilla index b84a538..bbe2380 100644 --- a/packages/x11/mozilla/mozilla +++ b/packages/x11/mozilla/mozilla @@ -7,6 +7,9 @@ # [D] mozilla-source-1.8a1.tar.bz2 http://ftp.mozilla.org/pub/mozilla.org/mozilla/releases/mozilla1.8a1/src/ # [D] install_flash_player_7_linux.tar.gz http://fpdownload.macromedia.com/get/shockwave/flash/english/linux/7.0r25/ +optimize="`echo $hdw_cflags | awk '{ print $1 }'`" +export PKG_CONFIG_PATH="/usr/X11R6/lib/pkgconfig" + pre_install() { export MOZILLA_OFFICIAL=1 BUILD_OFFICIAL=1 export MOZILLA_FIVE_HOME=$root/usr/lib/mozilla-${ver} @@ -23,7 +26,7 @@ confopt="$confopt --disable-tests --disable-debug --disable-dtd-debug" confopt="$confopt --disable-pedantic --disable-logging --disable-accessibility" confopt="$confopt --enable-strip --enable-strip-libs --enable-extensions=all" confopt="$confopt --enable-jsd --enable-mathml --enable-module=psm" -confopt="$confopt --enable-optimize='$hdw_cflags'" +confopt="$confopt --enable-optimize='$optimize'" post_install() { install -d $prefix/include/mozilla-$ver/nss