philipp / rpms / dhcp

Forked from rpms/dhcp 4 years ago
Clone

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

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