summaryrefslogtreecommitdiffstats
path: root/devel/gvfs/files/patch-configure
blob: 0b1b2a2ab9f7f9aabeb63b273287ddee825d39a5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
--- configure.orig  2009-04-24 00:15:09.000000000 -0400
+++ configure   2009-04-24 00:16:04.000000000 -0400
@@ -26973,6 +26973,9 @@ fi
     *-linux*)
       use_gphoto2=yes
       ;;
+    *-freebsd*)
+      use_gphoto2=yes
+      ;;
     *)
       use_gphoto2=no
       ;;
@@ -28018,7 +28021,7 @@ if test "${ac_cv_lib_archive_archive_ent
   $as_echo_n "(cached) " >&6
 else
   ac_check_lib_save_LIBS=$LIBS
-LIBS="-larchive  $LIBS"
+LIBS="-larchive -lcrypto -lmd  $LIBS"
 cat >conftest.$ac_ext <<_ACEOF
 /* confdefs.h.  */
 _ACEOF
@@ -28094,7 +28097,7 @@ _ACEOF
                 if test x$with_archive_libs != x/usr/lib; then
                         ARCHIVE_LIBS="-L$with_archive_libs -larchive"
                 else
-                   ARCHIVE_LIBS="-larchive"
+                   ARCHIVE_LIBS="-larchive -lcrypto -lmd"
                 fi
    else
        { $as_echo "$as_me:$LINENO: checking for archive_entry_filetype in -larchive" >&5