summaryrefslogtreecommitdiffstats
path: root/graphics/libgphoto2/DEPENDS
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/libgphoto2/DEPENDS')
-rwxr-xr-xgraphics/libgphoto2/DEPENDS8
1 files changed, 7 insertions, 1 deletions
diff --git a/graphics/libgphoto2/DEPENDS b/graphics/libgphoto2/DEPENDS
index 337c2bf2dd..14734e2bd6 100755
--- a/graphics/libgphoto2/DEPENDS
+++ b/graphics/libgphoto2/DEPENDS
@@ -1,11 +1,17 @@
depends bison && # Is this really needed?
depends pkgconfig &&
+depends libxml2 &&
+# make icu usage explicit
+if is_depends_enabled libxml2 icu;then
+ depends icu
+fi &&
+
# test kernel version
local GPH_KDEV
GPH_KVER=`uname -r |cut -c-3` &&
if [[ $GPH_KVER != "2.4" ]];then
- optional_depends udev "udevscriptdir=$INSTALL_ROOT/lib/udev" "" \
+ optional_depends UDEV "udevscriptdir=$INSTALL_ROOT/lib/udev" "" \
"for kernel UDEV support"
else
optional_depends hotplug "" "" "for kernel hotplug support"