Package: cpu / 1.4.3-12

09_build-system.patch Patch series | 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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
Description: fix typos and deprecations in build system
Author: Florian Schlichting <fsfs@debian.org>

--- a/src/plugins/ldap/Makefile.am
+++ b/src/plugins/ldap/Makefile.am
@@ -3,7 +3,7 @@
 lib_LTLIBRARIES = libcpu_ldap.la
 
 LDADD = $(top_builddir)/src/util/libcputil.la
-libcpu_ldap_la_LDFLAGS = @LBFLAGS@
+libcpu_ldap_la_LDFLAGS = @LDFLAGS@
 
 libcpu_ldap_la_SOURCES = \
  ldap_errors.c \
--- a/src/plugins/passwd/Makefile.am
+++ b/src/plugins/passwd/Makefile.am
@@ -3,7 +3,7 @@
 lib_LTLIBRARIES = libcpu_passwd.la
 
 LDADD = $(top_builddir)/src/util/libcputil.la
-libcpu_passwd_la_LDFLAGS = @LBFLAGS@
+libcpu_passwd_la_LDFLAGS = @LDFLAGS@
 
 libcpu_passwd_la_SOURCES = \
  commandline.c \
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,4 +1,4 @@
-INCLUDES = -I$(top_srcdir)/src/include
+AM_CPPFLAGS = -I$(top_srcdir)/src/include
 SUBDIRS  = src doc
 
 EXTRA_DIST = \
--- a/configure.ac
+++ b/configure.ac
@@ -1,6 +1,6 @@
 AC_PREREQ(2.52)
 AC_INIT(cpu, 1.4.3, cpu-users@lists.sourceforge.net, cpu)
-AM_INIT_AUTOMAKE(cpu, 1.4.3)
+AM_INIT_AUTOMAKE
 AM_CONFIG_HEADER(src/include/config.h)
 
 dnl Checks for programs.
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -1,2 +1,2 @@
-INCLUDES = -I$(top_srcdir)/src/include
+AM_CPPFLAGS = -I$(top_srcdir)/src/include
 SUBDIRS = util main plugins