aboutsummaryrefslogtreecommitdiff
path: root/multimedia/mpeg_stat/files/patch-Makefile
diff options
context:
space:
mode:
authorLars Engels <lme@FreeBSD.org>2011-06-21 11:41:52 +0000
committerLars Engels <lme@FreeBSD.org>2011-06-21 11:41:52 +0000
commit2ddef3b2c4f4d088a878bc58ad55bfb2cdacc91b (patch)
tree6cbb5e3f8c60236bb7eaa9d04c857c142e939207 /multimedia/mpeg_stat/files/patch-Makefile
parente7b1af21a3ce50f1ef5be8de7c7198b6bd684acb (diff)
downloadports-2ddef3b2c4f4d088a878bc58ad55bfb2cdacc91b.tar.gz
ports-2ddef3b2c4f4d088a878bc58ad55bfb2cdacc91b.zip
Notes
Diffstat (limited to 'multimedia/mpeg_stat/files/patch-Makefile')
-rw-r--r--multimedia/mpeg_stat/files/patch-Makefile20
1 files changed, 20 insertions, 0 deletions
diff --git a/multimedia/mpeg_stat/files/patch-Makefile b/multimedia/mpeg_stat/files/patch-Makefile
new file mode 100644
index 000000000000..100cb95b8ee5
--- /dev/null
+++ b/multimedia/mpeg_stat/files/patch-Makefile
@@ -0,0 +1,20 @@
+--- Makefile.orig 2011-06-21 13:24:59.000000000 +0200
++++ Makefile 2011-06-21 13:34:51.000000000 +0200
+@@ -3,7 +3,7 @@
+ # Should make just about anywhere... If you have problems,
+ # check out porting.c first
+
+-CC = gcc
++CC ?= gcc
+
+ # at present, no include directories needed
+ # Except on our OSF3.0, where -I/usr/include is needed (why? I dont know).
+@@ -19,7 +19,7 @@
+ # Do not use it if it takes none (SunOS, HPUX, OSF1 )
+ # It works either way, just gets rid of a warning.
+
+-CFLAGS = -I/usr/include $(DEBUGFLAG) $(INCLUDEDIR)
++CFLAGS += -I/usr/include $(DEBUGFLAG) $(INCLUDEDIR)
+
+ # for SunOS cc, just use the above
+ # for cc on HPUX: