| @@ -1,14 +1,14 @@ | | | @@ -1,14 +1,14 @@ |
1 | # $NetBSD: Cygwin.mk,v 1.6 2013/02/22 13:39:31 obache Exp $ | | 1 | # $NetBSD: Cygwin.mk,v 1.7 2013/02/23 05:41:04 obache Exp $ |
2 | # | | 2 | # |
3 | # Variable definitions for the Windows with Cygwin. | | 3 | # Variable definitions for the Windows with Cygwin. |
4 | | | 4 | |
5 | ### | | 5 | ### |
6 | ### Overrides to standard BSD .mk files | | 6 | ### Overrides to standard BSD .mk files |
7 | ### | | 7 | ### |
8 | | | 8 | |
9 | # "catinstall" not yet supported as there's no shipped [gn]roff | | 9 | # "catinstall" not yet supported as there's no shipped [gn]roff |
10 | MANINSTALL= maninstall | | 10 | MANINSTALL= maninstall |
11 | MAKE_FLAGS+= MKCATPAGES=no NOLINT=1 | | 11 | MAKE_FLAGS+= MKCATPAGES=no NOLINT=1 |
12 | | | 12 | |
13 | ### | | 13 | ### |
14 | ### Alternate defaults to global pkgsrc settings, to help avoid | | 14 | ### Alternate defaults to global pkgsrc settings, to help avoid |
| @@ -51,26 +51,28 @@ MOTIF_TYPE_DEFAULT?= motif # default 2.0 | | | @@ -51,26 +51,28 @@ MOTIF_TYPE_DEFAULT?= motif # default 2.0 |
51 | NOLOGIN?= /bin/false | | 51 | NOLOGIN?= /bin/false |
52 | PKG_TOOLS_BIN?= ${LOCALBASE}/sbin | | 52 | PKG_TOOLS_BIN?= ${LOCALBASE}/sbin |
53 | PKGDIRMODE?= 775 | | 53 | PKGDIRMODE?= 775 |
54 | # ROOT_USER might be numeric in the special case of Administrator; canonify it: | | 54 | # ROOT_USER might be numeric in the special case of Administrator; canonify it: |
55 | ROOT_CMD?= ${SU} - "$$(${ID} -un ${ROOT_USER})" -c | | 55 | ROOT_CMD?= ${SU} - "$$(${ID} -un ${ROOT_USER})" -c |
56 | ROOT_USER?= ${BINOWN} | | 56 | ROOT_USER?= ${BINOWN} |
57 | ROOT_GROUP?= Administrators | | 57 | ROOT_GROUP?= Administrators |
58 | _IS_ROOT_CMD?= ( ${ID} -nG | ${GREP} -q 'Administrators' ) | | 58 | _IS_ROOT_CMD?= ( ${ID} -nG | ${GREP} -q 'Administrators' ) |
59 | TOUCH_FLAGS?= | | 59 | TOUCH_FLAGS?= |
60 | ULIMIT_CMD_datasize?= ulimit -d `ulimit -H -d` | | 60 | ULIMIT_CMD_datasize?= ulimit -d `ulimit -H -d` |
61 | ULIMIT_CMD_stacksize?= ulimit -s `ulimit -H -s` | | 61 | ULIMIT_CMD_stacksize?= ulimit -s `ulimit -H -s` |
62 | ULIMIT_CMD_memorysize?= ulimit -v `ulimit -H -v` | | 62 | ULIMIT_CMD_memorysize?= ulimit -v `ulimit -H -v` |
63 | | | 63 | |
| | | 64 | X11_TYPE?= native |
| | | 65 | |
64 | _OPSYS_HAS_INET6= yes # IPv6 is standard | | 66 | _OPSYS_HAS_INET6= yes # IPv6 is standard |
65 | _OPSYS_HAS_JAVA= no # Java is not standard | | 67 | _OPSYS_HAS_JAVA= no # Java is not standard |
66 | _OPSYS_HAS_MANZ= yes # MANZ controls gzipping of man pages | | 68 | _OPSYS_HAS_MANZ= yes # MANZ controls gzipping of man pages |
67 | _OPSYS_HAS_OSSAUDIO= no # libossaudio is available | | 69 | _OPSYS_HAS_OSSAUDIO= no # libossaudio is available |
68 | _OPSYS_PERL_REQD= 5.8.3nb1 # base version of perl required | | 70 | _OPSYS_PERL_REQD= 5.8.3nb1 # base version of perl required |
69 | _OPSYS_PTHREAD_AUTO= no # -lpthread needed for pthreads | | 71 | _OPSYS_PTHREAD_AUTO= no # -lpthread needed for pthreads |
70 | _OPSYS_SHLIB_TYPE= PEwin # shared lib type | | 72 | _OPSYS_SHLIB_TYPE= PEwin # shared lib type |
71 | _PATCH_CAN_BACKUP= yes # native patch(1) can make backups | | 73 | _PATCH_CAN_BACKUP= yes # native patch(1) can make backups |
72 | _PATCH_BACKUP_ARG?= -b -V simple -z # switch to patch(1) for backup suffix | | 74 | _PATCH_BACKUP_ARG?= -b -V simple -z # switch to patch(1) for backup suffix |
73 | _USE_RPATH= no # add rpath to LDFLAGS | | 75 | _USE_RPATH= no # add rpath to LDFLAGS |
74 | | | 76 | |
75 | # flags passed to the linker to extract all symbols from static archives. | | 77 | # flags passed to the linker to extract all symbols from static archives. |
76 | # this is GNU ld. | | 78 | # this is GNU ld. |