philipp / rpms / dhcp

Forked from rpms/dhcp 4 years ago
Clone

Blame SOURCES/dhcp-4.2.5b1-atf-pkgconfig.patch

45d60a
diff -up dhcp-4.2.5b1/configure.ac.pkgconfig dhcp-4.2.5b1/configure.ac
45d60a
--- dhcp-4.2.5b1/configure.ac.pkgconfig	2012-12-05 02:18:44.000000000 +0100
45d60a
+++ dhcp-4.2.5b1/configure.ac	2012-12-17 15:45:33.769128387 +0100
45d60a
@@ -194,6 +194,9 @@ if test "$atf_path" != "no" ; then
45d60a
         if test -f $atf_path/lib/pkgconfig/atf-c.pc ; then
45d60a
             atf_pcp=$atf_path/lib/pkgconfig
45d60a
         fi
45d60a
+        if test -f $atf_path/lib64/pkgconfig/atf-c.pc ; then
45d60a
+            atf_pcp=$atf_path/lib64/pkgconfig
45d60a
+        fi
45d60a
     else
45d60a
         # Not specified, try some common paths
45d60a
         atf_dirs="/usr /usr/local /usr/pkg /opt /opt/local"
45d60a
@@ -202,6 +205,9 @@ if test "$atf_path" != "no" ; then
45d60a
             if test -f $d/lib/pkgconfig/atf-c.pc ; then
45d60a
                 atf_pcp=$d/lib/pkgconfig
45d60a
             fi
45d60a
+            if test -f $d/lib64/pkgconfig/atf-c.pc ; then
45d60a
+                atf_pcp=$d/lib64/pkgconfig
45d60a
+            fi
45d60a
         done
45d60a
     fi
45d60a
     if test "$atf_pcp" = "" ; then