aboutsummaryrefslogtreecommitdiffstats
path: root/www/firefox/files
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2004-02-13 15:30:21 +0800
committermarcus <marcus@FreeBSD.org>2004-02-13 15:30:21 +0800
commitaaa2c217140a563470c800271a992047e7aa769e (patch)
treeaa9a0c708dc5b562bbd21999eda87254a9b99b10 /www/firefox/files
parentfa2b10701e2dc13bfa15cce8176036b493a53c41 (diff)
downloadfreebsd-ports-gnome-aaa2c217140a563470c800271a992047e7aa769e.tar.gz
freebsd-ports-gnome-aaa2c217140a563470c800271a992047e7aa769e.tar.zst
freebsd-ports-gnome-aaa2c217140a563470c800271a992047e7aa769e.zip
Remove the ugly libnspr hack, and be a little more clever when adding
libiconv support. While this approach adds an extra patch, it insures that the built-in nspr will used without the need for additional messy symlinks.
Diffstat (limited to 'www/firefox/files')
-rw-r--r--www/firefox/files/patch-configure38
1 files changed, 38 insertions, 0 deletions
diff --git a/www/firefox/files/patch-configure b/www/firefox/files/patch-configure
new file mode 100644
index 000000000000..9e60372adb33
--- /dev/null
+++ b/www/firefox/files/patch-configure
@@ -0,0 +1,38 @@
+--- configure.orig Fri Feb 13 01:06:29 2004
++++ configure Fri Feb 13 01:07:17 2004
+@@ -9181,7 +9181,7 @@
+ echo $ac_n "(cached) $ac_c" 1>&6
+ else
+ ac_save_LIBS="$LIBS"
+-LIBS="-liconv $LIBS"
++LIBS="-L$LOCALBASE/lib -liconv $LIBS"
+ cat > conftest.$ac_ext <<EOF
+ #line 9187 "configure"
+ #include "confdefs.h"
+@@ -9212,7 +9212,7 @@
+ fi
+ if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
+ echo "$ac_t""yes" 1>&6
+- _ICONV_LIBS="$_ICONV_LIBS -liconv"
++ _ICONV_LIBS="$_ICONV_LIBS -L$LOCALBASE/lib -liconv"
+ else
+ echo "$ac_t""no" 1>&6
+ echo $ac_n "checking for libiconv in -liconv""... $ac_c" 1>&6
+@@ -9222,7 +9222,7 @@
+ echo $ac_n "(cached) $ac_c" 1>&6
+ else
+ ac_save_LIBS="$LIBS"
+-LIBS="-liconv $LIBS"
++LIBS="-L$LOCALBASE/lib -liconv $LIBS"
+ cat > conftest.$ac_ext <<EOF
+ #line 9228 "configure"
+ #include "confdefs.h"
+@@ -9253,7 +9253,7 @@
+ fi
+ if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
+ echo "$ac_t""yes" 1>&6
+- _ICONV_LIBS="$_ICONV_LIBS -liconv"
++ _ICONV_LIBS="$_ICONV_LIBS -L$LOCALBASE/lib -liconv"
+ else
+ echo "$ac_t""no" 1>&6
+ fi