openbsd-ports/net/mudix/patches/patch-src_Makefile_in

29 lines
733 B
Plaintext
Raw Normal View History

2009-03-25 14:29:34 -04:00
$OpenBSD: patch-src_Makefile_in,v 1.2 2009/03/25 18:29:34 naddy Exp $
--- src/Makefile.in.orig Sun Oct 20 21:34:28 2002
+++ src/Makefile.in Wed Mar 25 19:28:15 2009
@@ -2,9 +2,10 @@ CC = @CC@
#DEBUG = -DKEY_DEBUG
DEBUG =
EXEC = ../mudix
-O_FLAGS = -O -g
+O_FLAGS = @CFLAGS@
C_FLAGS = $(O_FLAGS) $(DEBUG) -Wall -I../include
-L_FLAGS = $(O_FLAGS) $(DEBUG) -lpanel -lncurses
2009-03-25 14:29:34 -04:00
+L_FLAGS = $(O_FLAGS) $(DEBUG)
+LIBS = -lpanel -lcurses
O_FILES = alias.o \
commands.o \
2009-03-25 14:29:34 -04:00
@@ -23,9 +24,9 @@ O_FILES = alias.o \
$(EXEC): $(O_FILES)
rm -f $(EXEC)
2009-03-25 14:29:34 -04:00
- $(CC) -o $(EXEC) $(L_FLAGS) $(O_FILES)
+ $(CC) -o $(EXEC) $(L_FLAGS) $(O_FILES) $(LIBS)
-.c.o: mudix.h conf.h
+.c.o:
$(CC) -c $(C_FLAGS) $<
clean: