From df8a19a135fc049508d198d0b52b47bdcf41271d Mon Sep 17 00:00:00 2001 From: ajacoutot Date: Mon, 8 Jun 2009 19:42:32 +0000 Subject: [PATCH] Add avahi support. Left over from c2k9. --- graphics/sane-backends/Makefile | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/graphics/sane-backends/Makefile b/graphics/sane-backends/Makefile index 4d2828f5bd1..b5ad2b8d369 100755 --- a/graphics/sane-backends/Makefile +++ b/graphics/sane-backends/Makefile @@ -1,9 +1,9 @@ -# $OpenBSD: Makefile,v 1.20 2009/05/11 15:22:07 ajacoutot Exp $ +# $OpenBSD: Makefile,v 1.21 2009/06/08 19:42:32 ajacoutot Exp $ COMMENT= API for accessing scanners, backends DISTNAME= sane-backends-1.0.20 -PKGNAME= ${DISTNAME}p0 +PKGNAME= ${DISTNAME}p1 SHARED_LIBS= sane 2.0 # .1.0 CATEGORIES= graphics @@ -18,7 +18,7 @@ PERMIT_PACKAGE_FTP= Yes PERMIT_DISTFILES_CDROM= Yes PERMIT_DISTFILES_FTP= Yes -WANTLIB += c exif jpeg ltdl m pthread usb z +WANTLIB += c dbus-1 exif jpeg ltdl m pthread usb z MASTER_SITES= ftp://ftp.sane-project.org/pub/sane/${DISTNAME}/ \ ftp://ftp.ibiblio.org/pub/Linux/apps/graphics/capture/ \ @@ -27,7 +27,8 @@ MASTER_SITES= ftp://ftp.sane-project.org/pub/sane/${DISTNAME}/ \ ftp://ftp.sane-project.org/pub/sane/old-versions/${DISTNAME}/ LIB_DEPENDS= tiff.>=38::graphics/tiff \ - gphoto2.>=2,gphoto2_port.>=5::graphics/libgphoto2 + gphoto2.>=2,gphoto2_port.>=5::graphics/libgphoto2 \ + avahi-client,avahi-common::net/avahi MODULES= devel/gettext @@ -46,7 +47,7 @@ CONFIGURE_ARGS= ${CONFIGURE_SHARED} \ --localstatedir=/var/spool \ --with-gphoto2 \ --with-group=553 \ - --disable-avahi \ + --enable-avahi \ --disable-latex FAKE_FLAGS= configdir=${PREFIX}/share/examples/sane-backends/sane.d