aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia/handbrake/files/patch-Jamrules
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia/handbrake/files/patch-Jamrules')
-rw-r--r--multimedia/handbrake/files/patch-Jamrules29
1 files changed, 29 insertions, 0 deletions
diff --git a/multimedia/handbrake/files/patch-Jamrules b/multimedia/handbrake/files/patch-Jamrules
new file mode 100644
index 000000000000..5483bf3d2e54
--- /dev/null
+++ b/multimedia/handbrake/files/patch-Jamrules
@@ -0,0 +1,29 @@
+--- Jamrules.orig Tue May 25 13:51:32 2004
++++ Jamrules Mon Nov 22 12:57:16 2004
+@@ -8,11 +8,11 @@
+ LANGUAGES = fr de it pl ru nl es pt ja ;
+
+ # Compilers & flags
+-CC = gcc ;
+-C++ = g++ ;
++CC = %%CC%% ;
++C++ = %%CXX%% ;
+ AS = nasm ;
+-LINK = g++ ;
+-OPTIM = -O3 -funroll-loops ;
++LINK = %%CXX%% ;
++OPTIM = %%CFLAGS%% ;
+ DEFINES = HB_$(OS) HB_VERSION=\\\"$(HB_VERSION)\\\" ;
+
+ if $(OS) = BEOS
+@@ -32,6 +32,10 @@
+ if $(OS) = LINUX
+ {
+ ASFLAGS = -f elf ;
++}
++if $(OS) = FREEBSD
++{
++ OPTIM = %%CFLAGS%% ;
+ }
+ if $(OS) = CYGWIN
+ {