Sat Jan 8 11:47:49 2022 UTC ()
sane-backends: this needs python 2.7 during build


(wiz)
diff -r1.77 -r1.78 pkgsrc/graphics/sane-backends/Makefile

cvs diff -r1.77 -r1.78 pkgsrc/graphics/sane-backends/Makefile (expand / switch to unified diff)

--- pkgsrc/graphics/sane-backends/Makefile 2022/01/04 16:06:54 1.77
+++ pkgsrc/graphics/sane-backends/Makefile 2022/01/08 11:47:49 1.78
@@ -1,25 +1,27 @@ @@ -1,25 +1,27 @@
1# $NetBSD: Makefile,v 1.77 2022/01/04 16:06:54 triaxx Exp $ 1# $NetBSD: Makefile,v 1.78 2022/01/08 11:47:49 wiz Exp $
2 2
3.include "Makefile.common" 3.include "Makefile.common"
4MASTER_SITES= https://gitlab.com/sane-project/backends/uploads/104f09c07d35519cc8e72e604f11643f/ 4MASTER_SITES= https://gitlab.com/sane-project/backends/uploads/104f09c07d35519cc8e72e604f11643f/
5COMMENT= API for access to scanners, digital cameras, frame grabbers, etc 5COMMENT= API for access to scanners, digital cameras, frame grabbers, etc
6 6
7DISTNAME= sane-backends-${SANE_VERSION} 7DISTNAME= sane-backends-${SANE_VERSION}
8DISTFILES= ${DISTNAME}${EXTRACT_SUFX} 8DISTFILES= ${DISTNAME}${EXTRACT_SUFX}
9 9
10USE_TOOLS+= msgfmt msgmerge pkg-config 10USE_TOOLS+= msgfmt msgmerge pkg-config
11USE_PKGLOCALEDIR= YES 11USE_PKGLOCALEDIR= YES
12 12
 13PYTHON_VERSIONS_ACCEPTED= 27
 14
13# c++11 is needed for genesys backend 15# c++11 is needed for genesys backend
14USE_LANGUAGES= c c++11 16USE_LANGUAGES= c c++11
15 17
16# C++11 18# C++11
17GCC_REQD+= 4.8 19GCC_REQD+= 4.8
18 20
19CONFIGURE_ARGS+= --with-gphoto2=no 21CONFIGURE_ARGS+= --with-gphoto2=no
20CONFIGURE_ARGS+= --without-snmp 22CONFIGURE_ARGS+= --without-snmp
21CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR} 23CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR}
22 24
23CONFIGURE_ENV.SunOS+= ac_cv_func_inet_ntop=yes 25CONFIGURE_ENV.SunOS+= ac_cv_func_inet_ntop=yes
24CONFIGURE_ENV.SunOS+= ac_cv_func_inet_pton=yes 26CONFIGURE_ENV.SunOS+= ac_cv_func_inet_pton=yes
25 27
@@ -67,15 +69,16 @@ CONF_FILES+= ${EGDIR}/${f} ${PKG_SYSCONF @@ -67,15 +69,16 @@ CONF_FILES+= ${EGDIR}/${f} ${PKG_SYSCONF
67CONF_FILES+= ${EGDIR}/${f} ${PKG_SYSCONFDIR}/sane.d/${f} 69CONF_FILES+= ${EGDIR}/${f} ${PKG_SYSCONFDIR}/sane.d/${f}
68. endfor 70. endfor
69.endif 71.endif
70 72
71.include "options.mk" 73.include "options.mk"
72.include "../../devel/libusb1/buildlink3.mk" 74.include "../../devel/libusb1/buildlink3.mk"
73.if (${OPSYS} == "Linux") 75.if (${OPSYS} == "Linux")
74.include "../../graphics/libv4l/buildlink3.mk" 76.include "../../graphics/libv4l/buildlink3.mk"
75.endif 77.endif
76.include "../../graphics/tiff/buildlink3.mk" 78.include "../../graphics/tiff/buildlink3.mk"
77.include "../../mk/jpeg.buildlink3.mk" 79.include "../../mk/jpeg.buildlink3.mk"
78.include "../../mk/pthread.buildlink3.mk" 80.include "../../mk/pthread.buildlink3.mk"
79.include "../../textproc/libxml2/buildlink3.mk" 81.include "../../textproc/libxml2/buildlink3.mk"
 82.include "../../lang/python/tool.mk"
80 83
81.include "../../mk/bsd.pkg.mk" 84.include "../../mk/bsd.pkg.mk"