# [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}
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