mcst-linux-kernel/patches-2024.06.26/cpu-1.4.3/0007-build-system.patch

50 lines
1.3 KiB
Diff

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