Thu Jan 29 21:58:34 2015 UTC ()
Explicitly disable inotify support on SunOS whilst it is Linux-specific.


(jperkin)
diff -r1.8 -r1.9 pkgsrc/sysutils/coreutils/Makefile.common

cvs diff -r1.8 -r1.9 pkgsrc/sysutils/coreutils/Makefile.common (expand / switch to unified diff)

--- pkgsrc/sysutils/coreutils/Makefile.common 2014/12/12 00:28:10 1.8
+++ pkgsrc/sysutils/coreutils/Makefile.common 2015/01/29 21:58:34 1.9
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1# $NetBSD: Makefile.common,v 1.8 2014/12/12 00:28:10 rodent Exp $ 1# $NetBSD: Makefile.common,v 1.9 2015/01/29 21:58:34 jperkin Exp $
2# used by sysutils/coreutils/Makefile 2# used by sysutils/coreutils/Makefile
3# used by misc/gnuls/Makefile 3# used by misc/gnuls/Makefile
4 4
5DISTNAME= coreutils-8.22 5DISTNAME= coreutils-8.22
6CATEGORIES= sysutils 6CATEGORIES= sysutils
7MASTER_SITES= ${MASTER_SITE_GNU:=coreutils/} 7MASTER_SITES= ${MASTER_SITE_GNU:=coreutils/}
8EXTRACT_SUFX= .tar.xz 8EXTRACT_SUFX= .tar.xz
9 9
10MAINTAINER= pkgsrc-users@NetBSD.org 10MAINTAINER= pkgsrc-users@NetBSD.org
11HOMEPAGE= http://www.gnu.org/software/coreutils/ 11HOMEPAGE= http://www.gnu.org/software/coreutils/
12COMMENT= GNU basic file, shell and text manipulation utilities 12COMMENT= GNU basic file, shell and text manipulation utilities
13LICENSE= gnu-gpl-v3 13LICENSE= gnu-gpl-v3
14 14
@@ -27,26 +27,31 @@ TEST_TARGET= check @@ -27,26 +27,31 @@ TEST_TARGET= check
27 27
28.if ${OPSYS} == "Interix" 28.if ${OPSYS} == "Interix"
29CONFIGURE_ENV+= ac_list_mounted_fs=found 29CONFIGURE_ENV+= ac_list_mounted_fs=found
30.endif 30.endif
31 31
32.if ${OPSYS} == "DragonFly" 32.if ${OPSYS} == "DragonFly"
33CONFIGURE_ENV+= gl_cv_search_pthread_join=-lpthread 33CONFIGURE_ENV+= gl_cv_search_pthread_join=-lpthread
34.endif 34.endif
35 35
36.if ${OPSYS} == "Linux" 36.if ${OPSYS} == "Linux"
37CONFIGURE_ENV+= FORCE_UNSAFE_CONFIGURE=1 37CONFIGURE_ENV+= FORCE_UNSAFE_CONFIGURE=1
38.endif 38.endif
39 39
 40# Explicitly disable inotify support whilst it is Linux-specific.
 41.if ${OPSYS} == "SunOS"
 42CONFIGURE_ENV+= ac_cv_func_inotify_init=no
 43.endif
 44
40.if !empty(MACHINE_PLATFORM:MDarwin-[9].*-*) 45.if !empty(MACHINE_PLATFORM:MDarwin-[9].*-*)
41CONFIGURE_ENV+= ac_cv_header_sys_acl_h=no jm_cv_func_svid_putenv=yes 46CONFIGURE_ENV+= ac_cv_header_sys_acl_h=no jm_cv_func_svid_putenv=yes
42.endif 47.endif
43 48
44# XXX - this hack is bound to cause fallout on some platform at some point. 49# XXX - this hack is bound to cause fallout on some platform at some point.
45# How can we determine the API version of the builtin gettext? 50# How can we determine the API version of the builtin gettext?
46.if ${OPSYS} != "Linux" 51.if ${OPSYS} != "Linux"
47CONFIGURE_ENV+= gt_cv_func_gnugettext3_libintl=yes 52CONFIGURE_ENV+= gt_cv_func_gnugettext3_libintl=yes
48.endif 53.endif
49CONFIGURE_ENV+= MKDIR_P=${MKDIR:Q} 54CONFIGURE_ENV+= MKDIR_P=${MKDIR:Q}
50 55
51CONFIGURE_ARGS+= --program-prefix=g 56CONFIGURE_ARGS+= --program-prefix=g
52 57