summaryrefslogtreecommitdiff
path: root/multimedia/mpeg_encode/files/patch-Makefile
diff options
context:
space:
mode:
authorAdam Weinberger <adamw@FreeBSD.org>2014-07-29 01:31:13 +0000
committerAdam Weinberger <adamw@FreeBSD.org>2014-07-29 01:31:13 +0000
commit7f36934d440e9eef6de5bb89c7a0c6d94b7b1ea4 (patch)
tree3bddb5ab6e3fb3a57edca76c00d09e6b3c99ac3e /multimedia/mpeg_encode/files/patch-Makefile
parentRename misc/ patch-xy patches to reflect the files they modify. (diff)
Rename multimedia/ patch-xy patches to reflect the files they modify.
Notes
Notes: svn path=/head/; revision=363283
Diffstat (limited to 'multimedia/mpeg_encode/files/patch-Makefile')
-rw-r--r--multimedia/mpeg_encode/files/patch-Makefile20
1 files changed, 20 insertions, 0 deletions
diff --git a/multimedia/mpeg_encode/files/patch-Makefile b/multimedia/mpeg_encode/files/patch-Makefile
new file mode 100644
index 000000000000..4760ecb9ecfc
--- /dev/null
+++ b/multimedia/mpeg_encode/files/patch-Makefile
@@ -0,0 +1,20 @@
+--- Makefile~ Wed Aug 16 17:16:56 1995
++++ Makefile Fri Oct 20 19:20:05 2000
+@@ -68,7 +68,7 @@
+ #####################################################################
+ # COMPILER # specify compiler; should be ANSI-compliant if possible #
+ #####################################################################
+-CC = gcc
++CC ?= gcc
+
+ ################################################
+ # MAKE # command to use for the "make" command #
+@@ -96,7 +96,7 @@
+ #
+
+ # gcc
+-CFLAGS = $(INCLUDEDIR) $(DEBUGFLAG) -Wall -Wmissing-prototypes $(PROFLAG) $(PROTOFLAG)
++CFLAGS += $(INCLUDEDIR) -Wall -Wmissing-prototypes $(PROFLAG) $(PROTOFLAG)
+
+ # gcc-strict
+ #CFLAGS = $(INCLUDEDIR) $(DEBUGFLAG) -pedantic -Wall -Waggregate-return -Wtraditional -Wshadow -Wpointer-arith -Wno-parentheses -Wwrite-strings -Wconversion -Wcast-qual -Wcast-align -Wnested-externs -Wuninitialized -Wmissing-prototypes $(PROFLAG) $(PROTOFLAG)