]> git.pld-linux.org Git - packages/NetworkManager.git/blobdiff - NetworkManager-pld.patch
- up to next stable 0.9.6.0; updated pld patch
[packages/NetworkManager.git] / NetworkManager-pld.patch
index 018cf0b0a0d4e7bb03eeb9d501e9701fb6090532..752ae9f464c8ede988f8248e683874a59dfd1e52 100644 (file)
@@ -1,29 +1,24 @@
 diff -urN NetworkManager-0.9.4.0/configure.ac NetworkManager-0.9.4.0.new/configure.ac
 --- NetworkManager-0.9.4.0/configure.ac        2012-03-23 21:11:15.000000000 +0100
 +++ NetworkManager-0.9.4.0.new/configure.ac    2012-03-24 11:29:26.057723008 +0100
-@@ -107,7 +107,7 @@
+@@ -107,9 +107,10 @@
  dnl
  AC_C_BIGENDIAN
  
--AC_ARG_WITH(distro, AS_HELP_STRING([--with-distro=DISTRO], [Specify the Linux distribution to target: One of redhat, suse, gentoo, debian, arch, slackware, paldo, mandriva, pardus, linexa or exherbo]))
-+AC_ARG_WITH(distro, AS_HELP_STRING([--with-distro=DISTRO], [Specify the Linux distribution to target: One of redhat, suse, gentoo, debian, arch, slackware, paldo, mandriva, pardus, linexa, exherbo or pld]))
+-AC_ARG_WITH(distro, AS_HELP_STRING([--with-distro=DISTRO], [Specify the Linux distribution to target: One of redhat, suse, gentoo, debian, arch, slackware, paldo, mandriva, pardus, linexa, exherbo or lfs]))
++AC_ARG_WITH(distro, AS_HELP_STRING([--with-distro=DISTRO], [Specify the Linux distribution to target: One of redhat, suse, gentoo, debian, arch, slackware, paldo, mandriva, pardus, linexa, exherbo, lfs or pld]))
  if test "z$with_distro" = "z"; then
        AC_CHECK_FILE(/etc/redhat-release,with_distro="redhat")
-       AC_CHECK_FILE(/etc/SuSE-release,with_distro="suse")
-@@ -121,6 +121,7 @@
-       AC_CHECK_FILE(/etc/pardus-release,with_distro="pardus")
-       AC_CHECK_FILE(/etc/linexa-release,with_distro="linexa")
-       AC_CHECK_FILE(/etc/exherbo-release,with_distro="exherbo")
 +      AC_CHECK_FILE(/etc/pld-release,with_distro="pld")
-       if test "z$with_distro" = "z"; then
-               with_distro=`lsb_release -is`
-       fi
-@@ -132,7 +133,7 @@
+       AC_CHECK_FILE(/etc/SuSE-release,with_distro="suse")
+       AC_CHECK_FILE(/etc/fedora-release,with_distro="redhat")
+       AC_CHECK_FILE(/etc/gentoo-release,with_distro="gentoo")
+@@ -133,7 +134,7 @@
        exit 1
  else
        case $with_distro in
--              redhat|suse|gentoo|debian|slackware|arch|paldo|frugalware|mandriva|pardus|linexa|exherbo|generic) ;;
-+              redhat|suse|gentoo|debian|slackware|arch|paldo|frugalware|mandriva|pardus|linexa|exherbo|generic|pld) ;;
+-              redhat|suse|gentoo|debian|slackware|arch|paldo|frugalware|mandriva|pardus|linexa|exherbo|lfs|generic) ;;
++              redhat|suse|gentoo|debian|slackware|arch|paldo|frugalware|mandriva|pardus|linexa|exherbo|lfs|pld|generic) ;;
                *)
                        echo "Your distribution (${with_distro}) is not yet supported!  (patches welcome)"
                        exit 1
This page took 0.053544 seconds and 4 git commands to generate.