0001-Updated-build-args-for-Pisi-Linux.patch 3.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. From dc3f89a7840c0ffab00d335f127b7d6ab67398d9 Mon Sep 17 00:00:00 2001
  2. From: Berk Cakar <berk2238@hotmail.com>
  3. Date: Wed, 12 May 2021 23:02:55 +0300
  4. Subject: [PATCH] Updated build args for Pisi Linux
  5. ---
  6. configure.ac | 12 ++++++------
  7. meson.build | 4 ++--
  8. meson_options.txt | 2 +-
  9. 3 files changed, 9 insertions(+), 9 deletions(-)
  10. diff --git a/configure.ac b/configure.ac
  11. index 4ac2219..722824d 100644
  12. --- a/configure.ac
  13. +++ b/configure.ac
  14. @@ -396,14 +396,14 @@ fi
  15. AC_SUBST(PAM_MODULE_DIR)
  16. -AC_ARG_WITH(os-type, [ --with-os-type=<os> distribution or OS (redhat/suse/gentoo/pardus/solaris/netbsd)])
  17. +AC_ARG_WITH(os-type, [ --with-os-type=<os> distribution or OS (redhat/suse/gentoo/pisilinux/solaris/netbsd)])
  18. #### Check our operating system (distro-tweaks required)
  19. if test "z$with_os_type" = "z"; then
  20. AC_CHECK_FILE(/etc/redhat-release,distro_type="redhat")
  21. AC_CHECK_FILE(/etc/SuSE-release,distro_type="suse")
  22. AC_CHECK_FILE(/etc/gentoo-release,distro_type="gentoo")
  23. - AC_CHECK_FILE(/etc/pardus-release,distro_type="pardus")
  24. + AC_CHECK_FILE(/etc/pisilinux-release,distro_type="pisilinux")
  25. if test "z$distro_type" = "z"; then
  26. echo "Linux distribution autodetection failed, specify the distribution to target using --with-os-type="
  27. else
  28. @@ -419,8 +419,8 @@ if test x$with_os_type = x; then
  29. with_os_type=suse
  30. elif test x$operating_system = xgentoo ; then
  31. with_os_type=gentoo
  32. - elif test x$operating_system = xpardus ; then
  33. - with_os_type=pardus
  34. + elif test x$operating_system = xpisilinux ; then
  35. + with_os_type=pisilinux
  36. elif test x$operating_system = xsolaris ; then
  37. with_os_type=solaris
  38. elif test x$operating_system = xfreebsd ; then
  39. @@ -444,7 +444,7 @@ AM_CONDITIONAL(OS_TYPE_UNKNOWN, test x$with_os_type = xunknown, [Running on unkn
  40. AM_CONDITIONAL(OS_TYPE_RED_HAT, test x$with_os_type = xredhat, [Running on Red Hat OS'es])
  41. AM_CONDITIONAL(OS_TYPE_SUSE, test x$with_os_type = xsuse, [Running on SUSE OS'es])
  42. AM_CONDITIONAL(OS_TYPE_GENTOO, test x$with_os_type = xgentoo, [Running on Gentoo OS'es])
  43. -AM_CONDITIONAL(OS_TYPE_PARDUS, test x$with_os_type = xpardus, [Running on Pardus OS'es])
  44. +AM_CONDITIONAL(OS_TYPE_PISI_LINUX, test x$with_os_type = xpisilinux, [Running on Pisi GNU/Linux OS'es])
  45. AM_CONDITIONAL(OS_TYPE_SOLARIS, test x$with_os_type = xsolaris, [Running os Solaris OS'es])
  46. AM_CONDITIONAL(OS_TYPE_FREEBSD, test x$with_os_type = xfreebsd, [Running on FreeBSD OS'es])
  47. @@ -456,7 +456,7 @@ if ! test -z "$with_pam_include"; then
  48. PAM_FILE_INCLUDE_ACCOUNT=$with_pam_include
  49. PAM_FILE_INCLUDE_PASSWORD=$with_pam_include
  50. PAM_FILE_INCLUDE_SESSION=$with_pam_include
  51. -elif test x$with_os_type = xredhat -o x$with_os_type = xgentoo -o x$with_os_type = xpardus ; then
  52. +elif test x$with_os_type = xredhat -o x$with_os_type = xgentoo -o x$with_os_type = xpisilinux ; then
  53. PAM_FILE_INCLUDE_AUTH=system-auth
  54. PAM_FILE_INCLUDE_ACCOUNT=system-auth
  55. PAM_FILE_INCLUDE_PASSWORD=system-auth