aboutsummaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authorEmanuel Haupt <ehaupt@FreeBSD.org>2012-02-11 17:19:35 +0000
committerEmanuel Haupt <ehaupt@FreeBSD.org>2012-02-11 17:19:35 +0000
commit123529259daa9bab74ecbc93d317468f0c642827 (patch)
treecf8bce773c120d7282dbecf193391dc6a545dcdd /sysutils
parentb3d979cadef41c4a8f513edb0576ac492be5487d (diff)
downloadports-123529259daa9bab74ecbc93d317468f0c642827.tar.gz
ports-123529259daa9bab74ecbc93d317468f0c642827.zip
Notes
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