summaryrefslogtreecommitdiff
path: root/package/setserial/patches/patch-Makefile_in
blob: bd779619069d8bb86e39c4ba3aedf676a5a41b1d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
--- setserial-2.17.orig/Makefile.in	2000-01-27 16:39:07.000000000 +0100
+++ setserial-2.17/Makefile.in	2011-11-10 14:15:33.945077373 +0100
@@ -13,14 +13,14 @@ STRIP = @STRIP@
 CC = @CC@
 RM = rm -f
 CFLAGS = @CFLAGS@
-DEFS = @DEFS@
-INCS = -I.
+CPPFLAGS = @DEFS@ @CPPFLAGS@ -I.
+LDFLAGS = @LDFLAGS@
 TAR = tar
 
-all: setserial setserial.cat
+all: setserial
 
 setserial: setserial.c
-	$(CC) $(CFLAGS) $(DEFS) $(INCS) setserial.c -o setserial
+	$(CC) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) setserial.c -o setserial
 
 setserial.cat: setserial.8
 	nroff -man setserial.8 > setserial.cat