diff options
Diffstat (limited to 'misc/nut/files/patch-Makefile')
-rw-r--r-- | misc/nut/files/patch-Makefile | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/misc/nut/files/patch-Makefile b/misc/nut/files/patch-Makefile new file mode 100644 index 000000000000..069527271f9e --- /dev/null +++ b/misc/nut/files/patch-Makefile @@ -0,0 +1,13 @@ +--- Makefile.orig Tue Apr 29 05:48:48 2003 ++++ Makefile Sun May 4 05:50:02 2003 +@@ -1,8 +1,8 @@ + objects := $(patsubst %.c,%.o,$(wildcard *.c)) + +-CFLAGS= -O3 -Wall -pedantic -ansi -DNUTDIR=\".nutdb\" -DFOODDIR=\"/usr/local/lib/nut\" ++CFLAGS+= -Wall -pedantic -ansi -DNUTDIR=\".nutdb\" -DFOODDIR=\"%%PREFIX%%/etc/nut\" + +-nut: $(objects) ++all: $(objects) + gcc ${CFLAGS} -lm -o nut $(objects) + strip nut + |