| @@ -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" |
4 | MASTER_SITES= https://gitlab.com/sane-project/backends/uploads/104f09c07d35519cc8e72e604f11643f/ | | 4 | MASTER_SITES= https://gitlab.com/sane-project/backends/uploads/104f09c07d35519cc8e72e604f11643f/ |
5 | COMMENT= API for access to scanners, digital cameras, frame grabbers, etc | | 5 | COMMENT= API for access to scanners, digital cameras, frame grabbers, etc |
6 | | | 6 | |
7 | DISTNAME= sane-backends-${SANE_VERSION} | | 7 | DISTNAME= sane-backends-${SANE_VERSION} |
8 | DISTFILES= ${DISTNAME}${EXTRACT_SUFX} | | 8 | DISTFILES= ${DISTNAME}${EXTRACT_SUFX} |
9 | | | 9 | |
10 | USE_TOOLS+= msgfmt msgmerge pkg-config | | 10 | USE_TOOLS+= msgfmt msgmerge pkg-config |
11 | USE_PKGLOCALEDIR= YES | | 11 | USE_PKGLOCALEDIR= YES |
12 | | | 12 | |
| | | 13 | PYTHON_VERSIONS_ACCEPTED= 27 |
| | | 14 | |
13 | # c++11 is needed for genesys backend | | 15 | # c++11 is needed for genesys backend |
14 | USE_LANGUAGES= c c++11 | | 16 | USE_LANGUAGES= c c++11 |
15 | | | 17 | |
16 | # C++11 | | 18 | # C++11 |
17 | GCC_REQD+= 4.8 | | 19 | GCC_REQD+= 4.8 |
18 | | | 20 | |
19 | CONFIGURE_ARGS+= --with-gphoto2=no | | 21 | CONFIGURE_ARGS+= --with-gphoto2=no |
20 | CONFIGURE_ARGS+= --without-snmp | | 22 | CONFIGURE_ARGS+= --without-snmp |
21 | CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR} | | 23 | CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR} |
22 | | | 24 | |
23 | CONFIGURE_ENV.SunOS+= ac_cv_func_inet_ntop=yes | | 25 | CONFIGURE_ENV.SunOS+= ac_cv_func_inet_ntop=yes |
24 | CONFIGURE_ENV.SunOS+= ac_cv_func_inet_pton=yes | | 26 | CONFIGURE_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 |
67 | CONF_FILES+= ${EGDIR}/${f} ${PKG_SYSCONFDIR}/sane.d/${f} | | 69 | CONF_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" |