ports/devel/gvfs/files/patch-configure
Koop Mast 84cba0b927 Presenting GNOME 2.26.1 for FreeBSD.
Approved by:	portmgr (marcus)
2009-04-24 06:38:26 +00:00

30 lines
927 B
Text

--- 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