| @@ -1,14 +1,14 @@ | | | @@ -1,14 +1,14 @@ |
1 | # $NetBSD: Makefile,v 1.8 2021/01/04 14:32:17 prlw1 Exp $ | | 1 | #$NetBSD: Makefile,v 1.9 2021/01/04 22:33:48 wiz Exp $ |
2 | | | 2 | |
3 | .include "../../print/cups/Makefile.common" | | 3 | .include "../../print/cups/Makefile.common" |
4 | | | 4 | |
5 | PKGNAME= libcups-${CUPS_VERS} | | 5 | PKGNAME= libcups-${CUPS_VERS} |
6 | MASTER_SITES= ${MASTER_SITE_GITHUB:=OpenPrinting/} | | 6 | MASTER_SITES= ${MASTER_SITE_GITHUB:=OpenPrinting/} |
7 | | | 7 | |
8 | MAINTAINER= sbd@NetBSD.org | | 8 | MAINTAINER= sbd@NetBSD.org |
9 | COMMENT= Common UNIX Printing System library | | 9 | COMMENT= Common UNIX Printing System library |
10 | | | 10 | |
11 | DISTINFO_FILE?= ${.CURDIR}/../../print/cups-base/distinfo | | 11 | DISTINFO_FILE?= ${.CURDIR}/../../print/cups-base/distinfo |
12 | PATCHDIR?= ${.CURDIR}/../../print/cups-base/patches | | 12 | PATCHDIR?= ${.CURDIR}/../../print/cups-base/patches |
13 | | | 13 | |
14 | GITHUB_PROJECT= cups | | 14 | GITHUB_PROJECT= cups |
| @@ -28,28 +28,26 @@ CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSC | | | @@ -28,28 +28,26 @@ CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSC |
28 | CONFIGURE_ARGS+= --localstatedir=${VARBASE} | | 28 | CONFIGURE_ARGS+= --localstatedir=${VARBASE} |
29 | CONFIGURE_ARGS+= --with-cachedir=${CUPS_CACHE:Q} | | 29 | CONFIGURE_ARGS+= --with-cachedir=${CUPS_CACHE:Q} |
30 | CONFIGURE_ARGS+= --with-docdir=${PREFIX}/share/doc/cups | | 30 | CONFIGURE_ARGS+= --with-docdir=${PREFIX}/share/doc/cups |
31 | CONFIGURE_ARGS+= --with-serverbindir=${PREFIX}/libexec/cups | | 31 | CONFIGURE_ARGS+= --with-serverbindir=${PREFIX}/libexec/cups |
32 | CONFIGURE_ARGS+= --with-components=libcups | | 32 | CONFIGURE_ARGS+= --with-components=libcups |
33 | CONFIGURE_ARGS+= --enable-libpaper | | 33 | CONFIGURE_ARGS+= --enable-libpaper |
34 | CONFIGURE_ARGS+= --enable-ssl | | 34 | CONFIGURE_ARGS+= --enable-ssl |
35 | CONFIGURE_ARGS+= --enable-gnutls | | 35 | CONFIGURE_ARGS+= --enable-gnutls |
36 | CONFIGURE_ARGS+= --disable-cdsassl | | 36 | CONFIGURE_ARGS+= --disable-cdsassl |
37 | CONFIGURE_ARGS+= --with-exe-file-perm=0755 | | 37 | CONFIGURE_ARGS+= --with-exe-file-perm=0755 |
38 | | | 38 | |
39 | CONFIGURE_ENV+= DSOFLAGS=${LDFLAGS:M*:Q} | | 39 | CONFIGURE_ENV+= DSOFLAGS=${LDFLAGS:M*:Q} |
40 | | | 40 | |
41 | CHECK_PORTABILITY_SKIP+= configure~ | | | |
42 | | | | |
43 | .include "../../mk/bsd.prefs.mk" | | 41 | .include "../../mk/bsd.prefs.mk" |
44 | .include "options.mk" | | 42 | .include "options.mk" |
45 | | | 43 | |
46 | BUILD_DEFS+= VARBASE | | 44 | BUILD_DEFS+= VARBASE |
47 | | | 45 | |
48 | # Explicitly disable epoll on illumos, it is provided for Linux compat only. | | 46 | # Explicitly disable epoll on illumos, it is provided for Linux compat only. |
49 | CONFIGURE_ENV.SunOS+= ac_cv_func_epoll_create=no | | 47 | CONFIGURE_ENV.SunOS+= ac_cv_func_epoll_create=no |
50 | | | 48 | |
51 | LIBS+= ${BUILDLINK_LDADD.iconv} | | 49 | LIBS+= ${BUILDLINK_LDADD.iconv} |
52 | | | 50 | |
53 | # Avoid the following error when compiling with clang. | | 51 | # Avoid the following error when compiling with clang. |
54 | # /usr/local/bin/ld: /usr/lib/crt1.o: relocation R_X86_64_32 against `_DYNAMIC' | | 52 | # /usr/local/bin/ld: /usr/lib/crt1.o: relocation R_X86_64_32 against `_DYNAMIC' |
55 | # can not be used when making a shared object; recompile with -fPIC | | 53 | # can not be used when making a shared object; recompile with -fPIC |