]> hackdaworld.org Git - hdw-linux/hdw-linux.git/commitdiff
corrected optimize flag
authorhackbard <hackbard>
Fri, 23 Jul 2004 13:38:01 +0000 (13:38 +0000)
committerhackbard <hackbard>
Fri, 23 Jul 2004 13:38:01 +0000 (13:38 +0000)
packages/x11/mozilla/mozilla

index b84a53847777919f1eee2a07ec5525c21800e17c..bbe2380f9af95fa8ca90a3a1bdb8c0fa57ce4e85 100644 (file)
@@ -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