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

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