From 6593022e89db95668f762d4db0020b296f786594 Mon Sep 17 00:00:00 2001 From: Joe Marcus Clarke Date: Wed, 11 Feb 2004 07:16:17 +0000 Subject: Add Firefox after a repo copy from mozilla-firebird. Firefox is the next release of the Firebird web browser with a new name to avoid conflicts with the Firebird database. This is version 0.8. http://www.mozilla.org/products/firefox/releases/ * Update to 0.8 and change name to firefox [1] * Make PLIST from a fake installation [1] * Restore original credit and portname in Makefile [1] * Optionally install headers and IDL files [2] * Use PERL instead of REINPLACE_CMD in a few places [1] * Use OPTIONS * Enable the Inspector extension * Fix another possible esound related problem * Enable basic optimizations if WITH_DEBUG is not specified PR: 62631 [2] Submitted by: trevor [1] [2] --- www/firefox/files/patch-config_preprocess.pl | 57 ---------------------------- 1 file changed, 57 deletions(-) delete mode 100644 www/firefox/files/patch-config_preprocess.pl (limited to 'www/firefox/files/patch-config_preprocess.pl') diff --git a/www/firefox/files/patch-config_preprocess.pl b/www/firefox/files/patch-config_preprocess.pl deleted file mode 100644 index a5c17665d9e9..000000000000 --- a/www/firefox/files/patch-config_preprocess.pl +++ /dev/null @@ -1,57 +0,0 @@ -$FreeBSD$ - ---- config/preprocessor.pl.orig Tue Sep 2 17:53:55 2003 -+++ config/preprocessor.pl Sat Oct 18 23:00:35 2003 -@@ -73,16 +73,39 @@ - ######################################################################## - - package main; --use File::Spec 0.8; -+use File::Spec; - use File::Spec::Unix; # on all platforms, because the #include syntax is unix-based -+use File::Basename; -+use Cwd; -+ -+# This code is taken from File::Spec::Unix 0.8. -+sub rel2abs { -+ my ($path, $base) = @_; -+ -+ if ( ! File::Spec->file_name_is_absolute( $path ) ) { -+ if ( !defined( $base ) || $base eq '' ) { -+ $base = cwd() ; -+ } -+ elsif ( ! File::Spec->file_name_is_absolute( $base ) ) { -+ $base = rel2abs( $base ); -+ } -+ else { -+ $base = File::Spec->canonpath( $base ); -+ } -+ -+ $path = File::Spec->catdir( $base, $path ); -+ } -+ -+ return File::Spec->canonpath( $path ); -+} -+# End code from File::Spec::Unix - - sub include { - my($stack, $filename) = @_; - my $directory = $stack->{'variables'}->{'DIRECTORY'}; - if ($filename ne '-') { -- $filename = File::Spec->rel2abs($filename, $directory); -- my($volume, $path) = File::Spec->splitpath($filename); -- $directory = File::Spec->catpath($volume, $path, ''); -+ $filename = rel2abs($filename, $directory); -+ $directory = File::Spec->catdir(File::Basename::dirname($filename)); - } - local $stack->{'variables'}->{'DIRECTORY'} = $directory; - local $stack->{'variables'}->{'FILE'} = $filename; -@@ -376,7 +399,7 @@ - my $stack = shift; - return if $stack->disabled; - die "argument expected\n" unless @_; -- main::include($stack, File::Spec->catpath(File::Spec::Unix->splitpath(@_))); -+ main::include($stack, File::Spec->catfile(File::Basename::dirname(@_), File::Basename::basename(@_))); - } - - sub filter { -- cgit v1.2.3