Explicitly disable epoll on illumos, it is provided for Linux compat only.diff -r1.217 -r1.218 pkgsrc/print/cups/Makefile
(jperkin)
@@ -1,14 +1,14 @@ | @@ -1,14 +1,14 @@ | |||
1 | # $NetBSD: Makefile,v 1.217 2015/03/14 21:07:37 tnn Exp $ | 1 | # $NetBSD: Makefile,v 1.218 2015/04/23 09:29:22 jperkin Exp $ | |
2 | # | 2 | # | |
3 | # The CUPS author is very good about taking back changes into the main | 3 | # The CUPS author is very good about taking back changes into the main | |
4 | # CUPS distribution. The correct place to send patches or bug-fixes is: | 4 | # CUPS distribution. The correct place to send patches or bug-fixes is: | |
5 | # cups-bugs@cups.org. | 5 | # cups-bugs@cups.org. | |
6 | 6 | |||
7 | DISTNAME= cups-${DIST_VERS}-source | 7 | DISTNAME= cups-${DIST_VERS}-source | |
8 | PKGNAME= cups-${DIST_VERS:S/-/./g} | 8 | PKGNAME= cups-${DIST_VERS:S/-/./g} | |
9 | BASE_VERS= 2.0.2 | 9 | BASE_VERS= 2.0.2 | |
10 | DIST_VERS= ${BASE_VERS} | 10 | DIST_VERS= ${BASE_VERS} | |
11 | CATEGORIES= print | 11 | CATEGORIES= print | |
12 | MASTER_SITES= http://www.cups.org/software/${BASE_VERS}/ | 12 | MASTER_SITES= http://www.cups.org/software/${BASE_VERS}/ | |
13 | EXTRACT_SUFX= .tar.bz2 | 13 | EXTRACT_SUFX= .tar.bz2 | |
14 | 14 | |||
@@ -46,28 +46,30 @@ CONFIGURE_ARGS+= --without-menudir | @@ -46,28 +46,30 @@ CONFIGURE_ARGS+= --without-menudir | |||
46 | CONFIGURE_ARGS+= --without-perl | 46 | CONFIGURE_ARGS+= --without-perl | |
47 | CONFIGURE_ARGS+= --without-php | 47 | CONFIGURE_ARGS+= --without-php | |
48 | CONFIGURE_ARGS+= --without-python | 48 | CONFIGURE_ARGS+= --without-python | |
49 | CONFIGURE_ARGS+= --without-java | 49 | CONFIGURE_ARGS+= --without-java | |
50 | CONFIGURE_ARGS+= --disable-gssapi | 50 | CONFIGURE_ARGS+= --disable-gssapi | |
51 | CONFIGURE_ARGS+= --disable-gnutls | 51 | CONFIGURE_ARGS+= --disable-gnutls | |
52 | 52 | |||
53 | CONFIGURE_ENV+= DSOFLAGS=${LDFLAGS:M*:Q} | 53 | CONFIGURE_ENV+= DSOFLAGS=${LDFLAGS:M*:Q} | |
54 | 54 | |||
55 | .include "../../mk/bsd.prefs.mk" | 55 | .include "../../mk/bsd.prefs.mk" | |
56 | .include "options.mk" | 56 | .include "options.mk" | |
57 | 57 | |||
58 | .if ${OPSYS} == "SunOS" | 58 | .if ${OPSYS} == "SunOS" | |
59 | LIBS_SSP = -lssp_nonshared -lssp | 59 | LIBS_SSP= -lssp_nonshared -lssp | |
60 | CONFIGURE_ENV+= LIBS_SSP=${LIBS_SSP:M*:Q} | 60 | CONFIGURE_ENV+= LIBS_SSP=${LIBS_SSP:M*:Q} | |
61 | # Explicitly disable epoll on illumos, it is provided for Linux compat only. | |||
62 | CONFIGURE_ENV+= ac_cv_func_epoll_create=no | |||
61 | .endif | 63 | .endif | |
62 | LIBS+= ${BUILDLINK_LDADD.iconv} | 64 | LIBS+= ${BUILDLINK_LDADD.iconv} | |
63 | 65 | |||
64 | PLIST_VARS+= notmac | 66 | PLIST_VARS+= notmac | |
65 | .if ${OPSYS} != "Darwin" | 67 | .if ${OPSYS} != "Darwin" | |
66 | PLIST.notmac= yes | 68 | PLIST.notmac= yes | |
67 | .endif | 69 | .endif | |
68 | 70 | |||
69 | # Avoid the following error when compiling with clang. | 71 | # Avoid the following error when compiling with clang. | |
70 | # /usr/local/bin/ld: /usr/lib/crt1.o: relocation R_X86_64_32 against `_DYNAMIC' | 72 | # /usr/local/bin/ld: /usr/lib/crt1.o: relocation R_X86_64_32 against `_DYNAMIC' | |
71 | # can not be used when making a shared object; recompile with -fPIC | 73 | # can not be used when making a shared object; recompile with -fPIC | |
72 | .if ${OPSYS} == "FreeBSD" | 74 | .if ${OPSYS} == "FreeBSD" | |
73 | BUILDLINK_TRANSFORM+= rm:-Wl,-pie | 75 | BUILDLINK_TRANSFORM+= rm:-Wl,-pie |
@@ -1,14 +1,14 @@ | @@ -1,14 +1,14 @@ | |||
1 | # $NetBSD: Makefile,v 1.3 2015/03/14 21:03:48 tnn Exp $ | 1 | # $NetBSD: Makefile,v 1.4 2015/04/23 09:29:22 jperkin Exp $ | |
2 | # | 2 | # | |
3 | # The CUPS author is very good about taking back changes into the main | 3 | # The CUPS author is very good about taking back changes into the main | |
4 | # CUPS distribution. The correct place to send patches or bug-fixes is: | 4 | # CUPS distribution. The correct place to send patches or bug-fixes is: | |
5 | # cups-bugs@cups.org. | 5 | # cups-bugs@cups.org. | |
6 | 6 | |||
7 | DISTNAME= cups-${DIST_VERS}-source | 7 | DISTNAME= cups-${DIST_VERS}-source | |
8 | PKGNAME= cups-${DIST_VERS:S/-/./g} | 8 | PKGNAME= cups-${DIST_VERS:S/-/./g} | |
9 | BASE_VERS= 1.5.4 | 9 | BASE_VERS= 1.5.4 | |
10 | DIST_VERS= ${BASE_VERS} | 10 | DIST_VERS= ${BASE_VERS} | |
11 | 11 | |||
12 | PKGREVISION= 12 | 12 | PKGREVISION= 12 | |
13 | CATEGORIES= print | 13 | CATEGORIES= print | |
14 | MASTER_SITES= http://ftp.easysw.com/pub/cups/${BASE_VERS}/ \ | 14 | MASTER_SITES= http://ftp.easysw.com/pub/cups/${BASE_VERS}/ \ | |
@@ -58,28 +58,30 @@ CONFIGURE_ARGS+= --without-perl | @@ -58,28 +58,30 @@ CONFIGURE_ARGS+= --without-perl | |||
58 | CONFIGURE_ARGS+= --without-php | 58 | CONFIGURE_ARGS+= --without-php | |
59 | CONFIGURE_ARGS+= --without-python | 59 | CONFIGURE_ARGS+= --without-python | |
60 | CONFIGURE_ARGS+= --without-java | 60 | CONFIGURE_ARGS+= --without-java | |
61 | CONFIGURE_ARGS+= --disable-gssapi | 61 | CONFIGURE_ARGS+= --disable-gssapi | |
62 | CONFIGURE_ARGS+= --disable-gnutls | 62 | CONFIGURE_ARGS+= --disable-gnutls | |
63 | CONFIGURE_ARGS+= --disable-ldap | 63 | CONFIGURE_ARGS+= --disable-ldap | |
64 | 64 | |||
65 | CONFIGURE_ENV+= DSOFLAGS=${LDFLAGS:M*:Q} | 65 | CONFIGURE_ENV+= DSOFLAGS=${LDFLAGS:M*:Q} | |
66 | 66 | |||
67 | .include "../../mk/bsd.prefs.mk" | 67 | .include "../../mk/bsd.prefs.mk" | |
68 | .include "options.mk" | 68 | .include "options.mk" | |
69 | 69 | |||
70 | .if ${OPSYS} == "SunOS" | 70 | .if ${OPSYS} == "SunOS" | |
71 | LIBS_SSP = -lssp_nonshared -lssp | 71 | LIBS_SSP= -lssp_nonshared -lssp | |
72 | CONFIGURE_ENV+= LIBS_SSP=${LIBS_SSP:M*:Q} | 72 | CONFIGURE_ENV+= LIBS_SSP=${LIBS_SSP:M*:Q} | |
73 | # Explicitly disable epoll on illumos, it is provided for Linux compat only. | |||
74 | CONFIGURE_ENV+= ac_cv_func_epoll_create=no | |||
73 | .endif | 75 | .endif | |
74 | LIBS+= ${BUILDLINK_LDADD.iconv} | 76 | LIBS+= ${BUILDLINK_LDADD.iconv} | |
75 | 77 | |||
76 | PLIST_VARS+= notmac | 78 | PLIST_VARS+= notmac | |
77 | .if ${OPSYS} != "Darwin" | 79 | .if ${OPSYS} != "Darwin" | |
78 | PLIST.notmac= yes | 80 | PLIST.notmac= yes | |
79 | .endif | 81 | .endif | |
80 | 82 | |||
81 | # Avoid the following error when compiling with clang. | 83 | # Avoid the following error when compiling with clang. | |
82 | # /usr/local/bin/ld: /usr/lib/crt1.o: relocation R_X86_64_32 against `_DYNAMIC' | 84 | # /usr/local/bin/ld: /usr/lib/crt1.o: relocation R_X86_64_32 against `_DYNAMIC' | |
83 | # can not be used when making a shared object; recompile with -fPIC | 85 | # can not be used when making a shared object; recompile with -fPIC | |
84 | .if ${OPSYS} == "FreeBSD" | 86 | .if ${OPSYS} == "FreeBSD" | |
85 | BUILDLINK_TRANSFORM+= rm:-Wl,-pie | 87 | BUILDLINK_TRANSFORM+= rm:-Wl,-pie |