| @@ -1,14 +1,14 @@ | | | @@ -1,14 +1,14 @@ |
1 | # $NetBSD: bsd.pkg.mk,v 1.2054 2024/04/30 20:59:25 wiz Exp $ | | 1 | # $NetBSD: bsd.pkg.mk,v 1.2055 2024/05/04 17:58:53 leot Exp $ |
2 | # | | 2 | # |
3 | # This file is in the public domain. | | 3 | # This file is in the public domain. |
4 | # | | 4 | # |
5 | # Please see the pkgsrc/doc/guide manual for details on the | | 5 | # Please see the pkgsrc/doc/guide manual for details on the |
6 | # variables used in this make file template. | | 6 | # variables used in this make file template. |
7 | # | | 7 | # |
8 | # Default sequence for "all" is: | | 8 | # Default sequence for "all" is: |
9 | # | | 9 | # |
10 | # bootstrap-depends | | 10 | # bootstrap-depends |
11 | # fetch | | 11 | # fetch |
12 | # checksum | | 12 | # checksum |
13 | # depends | | 13 | # depends |
14 | # tools | | 14 | # tools |
| @@ -174,26 +174,40 @@ ALL_ENV+= LC_ALL=C | | | @@ -174,26 +174,40 @@ ALL_ENV+= LC_ALL=C |
174 | ALL_ENV+= LC_COLLATE=C | | 174 | ALL_ENV+= LC_COLLATE=C |
175 | ALL_ENV+= LC_CTYPE=C | | 175 | ALL_ENV+= LC_CTYPE=C |
176 | ALL_ENV+= LC_MESSAGES=C | | 176 | ALL_ENV+= LC_MESSAGES=C |
177 | ALL_ENV+= LC_MONETARY=C | | 177 | ALL_ENV+= LC_MONETARY=C |
178 | ALL_ENV+= LC_NUMERIC=C | | 178 | ALL_ENV+= LC_NUMERIC=C |
179 | ALL_ENV+= LC_TIME=C | | 179 | ALL_ENV+= LC_TIME=C |
180 | ALL_ENV+= LDFLAGS=${LDFLAGS:M*:Q} | | 180 | ALL_ENV+= LDFLAGS=${LDFLAGS:M*:Q} |
181 | ALL_ENV+= LINKER_RPATH_FLAG=${LINKER_RPATH_FLAG:Q} | | 181 | ALL_ENV+= LINKER_RPATH_FLAG=${LINKER_RPATH_FLAG:Q} |
182 | ALL_ENV+= PATH=${PATH:Q}:${TOOLBASE}/bin:${X11BASE}/bin | | 182 | ALL_ENV+= PATH=${PATH:Q}:${TOOLBASE}/bin:${X11BASE}/bin |
183 | ALL_ENV+= PREFIX=${PREFIX} | | 183 | ALL_ENV+= PREFIX=${PREFIX} |
184 | ALL_ENV+= MAKELEVEL=0 | | 184 | ALL_ENV+= MAKELEVEL=0 |
185 | ALL_ENV+= CONFIG_SITE=${PKGSRC_CONFIG_SITE:U} | | 185 | ALL_ENV+= CONFIG_SITE=${PKGSRC_CONFIG_SITE:U} |
186 | .if !defined(ALLOW_NETWORK_ACCESS) | | 186 | .if !defined(ALLOW_NETWORK_ACCESS) |
| | | 187 | |
| | | 188 | #ALLOW_NETWORK_ACCESS= |
| | | 189 | # If defined network access is permitted also outside the "fetch" phase. |
| | | 190 | # |
| | | 191 | # Network access should be permitted only during the "fetch" phase. |
| | | 192 | # By defining this variable fetching is permitted also in other phases. |
| | | 193 | # This can be useful to MAINTAINERs for fetching distfiles to initialize |
| | | 194 | # a package or for custom packages. |
| | | 195 | # |
| | | 196 | # Possible: defined, not defined |
| | | 197 | # Default: undefined |
| | | 198 | # |
| | | 199 | # Keywords: fetch download network |
| | | 200 | |
187 | # try stopping downloads during configure/build/... | | 201 | # try stopping downloads during configure/build/... |
188 | ALL_ENV+= ftp_proxy=downloads-forbidden-except-during-fetch | | 202 | ALL_ENV+= ftp_proxy=downloads-forbidden-except-during-fetch |
189 | ALL_ENV+= http_proxy=downloads-forbidden-except-during-fetch | | 203 | ALL_ENV+= http_proxy=downloads-forbidden-except-during-fetch |
190 | ALL_ENV+= https_proxy=downloads-forbidden-except-during-fetch | | 204 | ALL_ENV+= https_proxy=downloads-forbidden-except-during-fetch |
191 | ALL_ENV+= no_proxy= | | 205 | ALL_ENV+= no_proxy= |
192 | .endif | | 206 | .endif |
193 | | | 207 | |
194 | # This variable can be added to MAKE_ENV to ease installation of packages | | 208 | # This variable can be added to MAKE_ENV to ease installation of packages |
195 | # that use BSD-style Makefiles. | | 209 | # that use BSD-style Makefiles. |
196 | BSD_MAKE_ENV= BINOWN=${BINOWN} BINGRP=${BINGRP} | | 210 | BSD_MAKE_ENV= BINOWN=${BINOWN} BINGRP=${BINGRP} |
197 | BSD_MAKE_ENV+= GAMEOWN=${GAMEOWN} GAMEGRP=${GAMEGRP} | | 211 | BSD_MAKE_ENV+= GAMEOWN=${GAMEOWN} GAMEGRP=${GAMEGRP} |
198 | BSD_MAKE_ENV+= MANOWN=${MANOWN} MANGRP=${MANGRP} | | 212 | BSD_MAKE_ENV+= MANOWN=${MANOWN} MANGRP=${MANGRP} |
199 | BSD_MAKE_ENV+= SHAREOWN=${SHAREOWN} SHAREGRP=${SHAREGRP} | | 213 | BSD_MAKE_ENV+= SHAREOWN=${SHAREOWN} SHAREGRP=${SHAREGRP} |