File: 01-Makefile.patch

package info (click to toggle)
libmaa 1.3.2-3
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd, stretch
  • size: 1,348 kB
  • ctags: 891
  • sloc: ansic: 6,878; sh: 2,754; makefile: 279; perl: 235
file content (31 lines) | stat: -rw-r--r-- 914 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
From: Robert Luberda <robert@debian.org>
Date: Mon, 29 Dec 2008 23:04:26 +0100
Subject: 01 Makefile

Don't remove config.h.in and don't link with lm.
---
 Makefile.in |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Makefile.in b/Makefile.in
index a7c9513..3036c9b 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -46,7 +46,7 @@ AWK=            @AWK@
 VERCFLAGS=       -DMAA_MAJOR=$(MAA_MAJOR) -DMAA_MINOR=$(MAA_MINOR) -DMAA_TEENY=$(MAA_TEENY)
 CFLAGS=		@DEFS@ @CPPFLAGS@ @CFLAGS@ $(VERCFLAGS) -I. -I${srcdir}
 LDFLAGS=        @LDFLAGS@
-LIBS=	        @LIBS@ -lm
+LIBS=	        @LIBS@
 
 TESTLIBS=	-L.libs -lmaa
 
@@ -203,7 +203,7 @@ distclean: clean
 		echo making $@ in $$subdir; \
 		(cd $$subdir && $(MAKE) $@) || exit 1; \
 	done
-	-rm -f config.h config.h.in
+	-rm -f config.h
 	-rm -f config.cache config.status stamp-h.in stamp-h
 	-rm -f Makefile arggram2c
 	-rm -rf autom4te.cache