| @@ -1,14 +1,14 @@ | | | @@ -1,14 +1,14 @@ |
1 | # $NetBSD: Cygwin.mk,v 1.4 2013/02/20 13:08:26 obache Exp $ | | 1 | # $NetBSD: Cygwin.mk,v 1.5 2013/02/21 11:19:27 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 |
| @@ -44,29 +44,27 @@ _USER_DEPENDS= user>=20040426:../../sys | | | @@ -44,29 +44,27 @@ _USER_DEPENDS= user>=20040426:../../sys |
44 | | | 44 | |
45 | CPP_PRECOMP_FLAGS?= # unset | | 45 | CPP_PRECOMP_FLAGS?= # unset |
46 | CONFIG_RPATH_OVERRIDE?= config.rpath */config.rpath */*/config.rpath | | 46 | CONFIG_RPATH_OVERRIDE?= config.rpath */config.rpath */*/config.rpath |
47 | DEF_UMASK?= 002 | | 47 | DEF_UMASK?= 002 |
48 | EXPORT_SYMBOLS_LDFLAGS?=-Wl,-E # add symbols to the dynamic symbol table | | 48 | EXPORT_SYMBOLS_LDFLAGS?=-Wl,-E # add symbols to the dynamic symbol table |
49 | | | 49 | |
50 | MOTIF_TYPE_DEFAULT?= motif # default 2.0 compatible libs type | | 50 | MOTIF_TYPE_DEFAULT?= motif # default 2.0 compatible libs type |
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 | .if !defined(ROOT_GROUP) | | 57 | ROOT_GROUP?= ${:!${ID} -g Administrators!} |
58 | ROOT_GROUP!= ${ID} -g Administrators | | | |
59 | .endif | | | |
60 | TOUCH_FLAGS?= | | 58 | TOUCH_FLAGS?= |
61 | ULIMIT_CMD_datasize?= ulimit -d `ulimit -H -d` | | 59 | ULIMIT_CMD_datasize?= ulimit -d `ulimit -H -d` |
62 | ULIMIT_CMD_stacksize?= ulimit -s `ulimit -H -s` | | 60 | ULIMIT_CMD_stacksize?= ulimit -s `ulimit -H -s` |
63 | ULIMIT_CMD_memorysize?= ulimit -v `ulimit -H -v` | | 61 | ULIMIT_CMD_memorysize?= ulimit -v `ulimit -H -v` |
64 | | | 62 | |
65 | _OPSYS_HAS_INET6= yes # IPv6 is standard | | 63 | _OPSYS_HAS_INET6= yes # IPv6 is standard |
66 | _OPSYS_HAS_JAVA= no # Java is not standard | | 64 | _OPSYS_HAS_JAVA= no # Java is not standard |
67 | _OPSYS_HAS_MANZ= yes # MANZ controls gzipping of man pages | | 65 | _OPSYS_HAS_MANZ= yes # MANZ controls gzipping of man pages |
68 | _OPSYS_HAS_OSSAUDIO= no # libossaudio is available | | 66 | _OPSYS_HAS_OSSAUDIO= no # libossaudio is available |
69 | _OPSYS_PERL_REQD= 5.8.3nb1 # base version of perl required | | 67 | _OPSYS_PERL_REQD= 5.8.3nb1 # base version of perl required |
70 | _OPSYS_PTHREAD_AUTO= no # -lpthread needed for pthreads | | 68 | _OPSYS_PTHREAD_AUTO= no # -lpthread needed for pthreads |
71 | _OPSYS_SHLIB_TYPE= PEwin # shared lib type | | 69 | _OPSYS_SHLIB_TYPE= PEwin # shared lib type |
72 | _PATCH_CAN_BACKUP= yes # native patch(1) can make backups | | 70 | _PATCH_CAN_BACKUP= yes # native patch(1) can make backups |