pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/graphics/sane-backends sane-backends: Reorganize PLIST...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/73ae7c3afc8a
branches:  trunk
changeset: 372531:73ae7c3afc8a
user:      triaxx <triaxx%pkgsrc.org@localhost>
date:      Wed Jan 26 17:17:39 2022 +0000

description:
sane-backends: Reorganize PLIST_VARS

pkgsrc changes:
---------------
  * Remove sm3600 variable since it is enabled for any OPSYS.
  * Remove mustek and kvs40xx variables since these backends are built if
    pthread is available. Actually it build on Linux and on other Unix-like
    systems. For Unix-like other than Linux, pthread is not enabled by default
    but we explicitly enable it in Makefile.
  * Bump revision

/!\ pint is built if sys/scanio.h exists. Feel free to add systems that implement it.
/!\ Feel free to reintroduce mustek and kvs40xx for systems that do not implement
    pthread.

diffstat:

 graphics/sane-backends/Makefile |  15 +++++----------
 graphics/sane-backends/PLIST    |  14 +++++++-------
 2 files changed, 12 insertions(+), 17 deletions(-)

diffs (102 lines):

diff -r 94ff9d2bcf40 -r 73ae7c3afc8a graphics/sane-backends/Makefile
--- a/graphics/sane-backends/Makefile   Wed Jan 26 16:41:45 2022 +0000
+++ b/graphics/sane-backends/Makefile   Wed Jan 26 17:17:39 2022 +0000
@@ -1,5 +1,6 @@
-# $NetBSD: Makefile,v 1.78 2022/01/08 11:47:49 wiz Exp $
+# $NetBSD: Makefile,v 1.79 2022/01/26 17:17:39 triaxx Exp $
 
+PKGREVISION=   1
 .include "Makefile.common"
 MASTER_SITES=  https://gitlab.com/sane-project/backends/uploads/104f09c07d35519cc8e72e604f11643f/
 COMMENT=       API for access to scanners, digital cameras, frame grabbers, etc
@@ -18,6 +19,7 @@
 # C++11
 GCC_REQD+=             4.8
 
+CONFIGURE_ARGS+=       --enable-pthread
 CONFIGURE_ARGS+=       --with-gphoto2=no
 CONFIGURE_ARGS+=       --without-snmp
 CONFIGURE_ARGS+=       --sysconfdir=${PKG_SYSCONFDIR}
@@ -27,17 +29,10 @@
 
 .include "../../mk/bsd.prefs.mk"
 
-PLIST_VARS+=           mustek pint sm3600 kvs40xx
+PLIST_VARS+=           pint
 
-.if (${OPSYS} == "SunOS") || (${OPSYS} == "Linux") || (${OPSYS} == "DragonFly") || (${OPSYS} == "FreeBSD")
-PLIST.sm3600=          yes
-.elif (${OPSYS} == "Darwin")
-PLIST.mustek=          yes
-PLIST.sm3600=          yes
-PLIST.kvs40xx=         yes
-.else
+.if (${OPSYS} == "NetBSD")
 PLIST.pint=            yes
-PLIST.sm3600=          yes
 .endif
 
 LIBS.SunOS+=   -lresolv -lnsl -lsocket
diff -r 94ff9d2bcf40 -r 73ae7c3afc8a graphics/sane-backends/PLIST
--- a/graphics/sane-backends/PLIST      Wed Jan 26 16:41:45 2022 +0000
+++ b/graphics/sane-backends/PLIST      Wed Jan 26 17:17:39 2022 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.37 2022/01/04 16:04:39 triaxx Exp $
+@comment $NetBSD: PLIST,v 1.38 2022/01/26 17:17:39 triaxx Exp $
 bin/gamma4scanimage
 bin/sane-config
 bin/sane-find-scanner
@@ -50,7 +50,7 @@
 lib/sane/libsane-kodakaio.la
 lib/sane/libsane-kvs1025.la
 lib/sane/libsane-kvs20xx.la
-${PLIST.kvs40xx}lib/sane/libsane-kvs40xx.la
+lib/sane/libsane-kvs40xx.la
 lib/sane/libsane-leo.la
 lib/sane/libsane-lexmark.la
 lib/sane/libsane-ma1509.la
@@ -60,7 +60,7 @@
 lib/sane/libsane-microtek2.la
 lib/sane/libsane-mustek.la
 lib/sane/libsane-mustek_usb.la
-${PLIST.mustek}lib/sane/libsane-mustek_usb2.la
+lib/sane/libsane-mustek_usb2.la
 lib/sane/libsane-nec.la
 lib/sane/libsane-net.la
 lib/sane/libsane-niash.la
@@ -77,7 +77,7 @@
 lib/sane/libsane-s9036.la
 lib/sane/libsane-sceptre.la
 lib/sane/libsane-sharp.la
-${PLIST.sm3600}lib/sane/libsane-sm3600.la
+lib/sane/libsane-sm3600.la
 lib/sane/libsane-sm3840.la
 lib/sane/libsane-snapscan.la
 lib/sane/libsane-sp15c.la
@@ -138,7 +138,7 @@
 man/man5/sane-kodakaio.5
 man/man5/sane-kvs1025.5
 man/man5/sane-kvs20xx.5
-${PLIST.kvs40xx}man/man5/sane-kvs40xx.5
+man/man5/sane-kvs40xx.5
 man/man5/sane-leo.5
 man/man5/sane-lexmark.5
 man/man5/sane-ma1509.5
@@ -148,7 +148,7 @@
 man/man5/sane-microtek2.5
 man/man5/sane-mustek.5
 man/man5/sane-mustek_usb.5
-${PLIST.mustek}man/man5/sane-mustek_usb2.5
+man/man5/sane-mustek_usb2.5
 man/man5/sane-nec.5
 man/man5/sane-net.5
 man/man5/sane-niash.5
@@ -166,7 +166,7 @@
 man/man5/sane-sceptre.5
 man/man5/sane-scsi.5
 man/man5/sane-sharp.5
-${PLIST.sm3600}man/man5/sane-sm3600.5
+man/man5/sane-sm3600.5
 man/man5/sane-sm3840.5
 man/man5/sane-snapscan.5
 man/man5/sane-sp15c.5



Home | Main Index | Thread Index | Old Index