aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authorehaupt <ehaupt@FreeBSD.org>2012-02-12 01:19:35 +0800
committerehaupt <ehaupt@FreeBSD.org>2012-02-12 01:19:35 +0800
commita076f815988c18eaeaca14ef7259bbf923bde3c4 (patch)
tree04d860eb65a7cf9d68ca6e7f253cdb5af3bcc4ed /sysutils
parent788842d6fd7157439a60a0728679da462cf62867 (diff)
downloadfreebsd-ports-gnome-a076f815988c18eaeaca14ef7259bbf923bde3c4.tar.gz
freebsd-ports-gnome-a076f815988c18eaeaca14ef7259bbf923bde3c4.tar.zst
freebsd-ports-gnome-a076f815988c18eaeaca14ef7259bbf923bde3c4.zip
Respect CC and CFLAGS
Approved by: Andrey Zonov <andrey@zonov.org> (maintainer)
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/nvramtool/files/patch-Makefile16
1 files changed, 16 insertions, 0 deletions
diff --git a/sysutils/nvramtool/files/patch-Makefile b/sysutils/nvramtool/files/patch-Makefile
new file mode 100644
index 000000000000..b5595988675e
--- /dev/null
+++ b/sysutils/nvramtool/files/patch-Makefile
@@ -0,0 +1,16 @@
+--- ./Makefile.orig 2012-02-11 16:34:29.000000000 +0100
++++ ./Makefile 2012-02-11 16:34:55.000000000 +0100
+@@ -20,11 +20,11 @@
+
+ PROGRAM = nvramtool
+
+-CC = gcc
++CC ?= gcc
+ STRIP = strip
+ INSTALL = /usr/bin/install
+ PREFIX = /usr/local
+-CFLAGS = -O2 -g -Wall -W -I.
++CFLAGS += -I.
+ #CFLAGS = -Os -Wall
+
+ CLI_OBJS = cli/nvramtool.o cli/opts.o