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

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