1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
|
package main
// This file contains names of Makefile variables and a short explanation
// what to do to make the warning disappear. Entries should only be removed
// if the explanation changes, in which case the new explanation should
// be added to the current date.
func getDeprecatedVars() map[string]string {
return map[string]string{
// December 2003
"FIX_RPATH": "It has been removed from pkgsrc in 2003.",
// February 2005
"LIB_DEPENDS": "Use DEPENDS instead.",
"ONLY_FOR_ARCHS": "Use ONLY_FOR_PLATFORM instead.",
"NOT_FOR_ARCHS": "Use NOT_FOR_PLATFORM instead.",
"ONLY_FOR_OPSYS": "Use ONLY_FOR_PLATFORM instead.",
"NOT_FOR_OPSYS": "Use NOT_FOR_PLATFORM instead.",
// May 2005
"ALL_TARGET": "Use BUILD_TARGET instead.",
"DIGEST_FILE": "Use DISTINFO_FILE instead.",
"IGNORE": "Use PKG_FAIL_REASON or PKG_SKIP_REASON instead.",
"IS_INTERACTIVE": "Use INTERACTIVE_STAGE instead.",
"KERBEROS": "Use the PKG_OPTIONS framework instead.",
"MASTER_SITE_SUBDIR": "Use some form of MASTER_SITES instead.",
"MD5_FILE": "Use DISTINFO_FILE instead.",
"MIRROR_DISTFILE": "Use NO_BIN_ON_FTP and/or NO_SRC_ON_FTP instead.",
"NO_CDROM": "Use NO_BIN_ON_CDROM and/or NO_SRC_ON_CDROM instead.",
"NO_PATCH": "You can just remove it.",
"NO_WRKSUBDIR": "Use WRKSRC=${WRKDIR} instead.",
"PATCH_SITE_SUBDIR": "Use some form of PATCHES_SITES instead.",
"PATCH_SUM_FILE": "Use DISTINFO_FILE instead.",
"PKG_JVM": "Use PKG_DEFAULT_JVM instead.",
"USE_BUILDLINK2": "You can just remove it.",
"USE_BUILDLINK3": "You can just remove it.",
"USE_CANNA": "Use the PKG_OPTIONS framework instead.",
"USE_DB4": "Use the PKG_OPTIONS framework instead.",
"USE_DIRS": "You can just remove it.",
"USE_ESOUND": "Use the PKG_OPTIONS framework instead.",
"USE_GIF": "Use the PKG_OPTIONS framework instead.",
"USE_GMAKE": "Use USE_TOOLS+=gmake instead.",
"USE_GNU_TOOLS": "Use USE_TOOLS instead.",
"USE_IDEA": "Use the PKG_OPTIONS framework instead.",
"USE_LIBCRACK": "Use the PKG_OPTIONS framework instead.",
"USE_MMX": "Use the PKG_OPTIONS framework instead.",
"USE_PKGLIBTOOL": "Use USE_LIBTOOL instead.",
"USE_SSL": "Include \"../../security/openssl/buildlink3.mk\" instead.",
// July 2005
"USE_PERL5": "Use USE_TOOLS+=perl or USE_TOOLS+=perl:run instead.",
// October 2005
"NO_TOOLS": "You can just remove it.",
"NO_WRAPPER": "You can just remove it.",
// November 2005
"ALLFILES": "Use CKSUMFILES instead.",
"DEPENDS_TARGET": "Use DEPENDS instead.",
"FETCH_DEPENDS": "Use DEPENDS instead.",
"RUN_DEPENDS": "Use DEPENDS instead.",
// December 2005
"USE_CUPS": "Use the PKG_OPTIONS framework (option cups) instead.",
"USE_I586": "Use the PKG_OPTIONS framework (option i586) instead.",
"USE_INN": "Use the PKG_OPTIONS framework instead.",
"USE_OPENLDAP": "Use the PKG_OPTIONS framework (option openldap) instead.",
"USE_OSS": "Use the PKG_OPTIONS framework (option oss) instead.",
"USE_RSAREF2": "Use the PKG_OPTIONS framework (option rsaref) instead.",
"USE_SASL": "Use the PKG_OPTIONS framework (option sasl) instead.",
"USE_SASL2": "Use the PKG_OPTIONS framework (option sasl) instead.",
"USE_SJ3": "Use the PKG_OPTIONS framework (option sj3) instead.",
"USE_SOCKS": "Use the PKG_OPTIONS framework (socks4 and socks5 options) instead.",
"USE_WNN4": "Use the PKG_OPTIONS framework (option wnn4) instead.",
"USE_XFACE": "Use the PKG_OPTIONS framework instead.",
// February 2006
"TOOLS_DEPMETHOD": "Use the :build or :run modifiers in USE_TOOLS instead.",
"MANDIR": "Please use ${PREFIX}/${PKGMANDIR} instead.",
"DOWNLOADED_DISTFILE": "Use the shell variable $$extract_file instead.",
"DECOMPRESS_CMD": "Use EXTRACT_CMD instead.",
// March 2006
"INSTALL_EXTRA_TMPL": "Use INSTALL_TEMPLATE instead.",
"DEINSTALL_EXTRA_TMPL": "Use DEINSTALL_TEMPLATE instead.",
// April 2006
"RECOMMENDED": "Use ABI_DEPENDS instead.",
"BUILD_USES_MSGFMT": "Use USE_TOOLS+=msgfmt instead.",
"USE_MSGFMT_PLURALS": "Use USE_TOOLS+=msgfmt instead.",
// May 2006
"EXTRACT_USING_PAX": "Use \"EXTRACT_OPTS=-t pax\" instead.",
"NO_EXTRACT": "It doesn't exist anymore.",
"_FETCH_MESSAGE": "Use FETCH_MESSAGE (different format) instead.",
"BUILDLINK_DEPENDS.*": "Use BUILDLINK_API_DEPENDS.* instead.",
"BUILDLINK_RECOMMENDED.*": "Use BUILDLINK_ABI_DEPENDS.* instead.",
"SHLIB_HANDLING": "Use CHECK_SHLIBS_SUPPORTED instead.",
"USE_RMAN": "It has been removed.",
// June 2006
"DEINSTALL_SRC": "Use the pkginstall framework instead.",
"INSTALL_SRC": "Use the pkginstall framework instead.",
"DEINSTALL_TEMPLATE": "Use DEINSTALL_TEMPLATES instead.",
"INSTALL_TEMPLATE": "Use INSTALL_TEMPLATES instead.",
"HEADER_TEMPLATE": "Use HEADER_TEMPLATES instead.",
"_REPLACE.*": "Use REPLACE.* instead.",
"_REPLACE_FILES.*": "Use REPLACE_FILES.* instead.",
"MESSAGE": "Use MESSAGE_SRC instead.",
"INSTALL_FILE": "It may only be used internally by pkgsrc.",
"DEINSTALL_FILE": "It may only be used internally by pkgsrc.",
// July 2006
"USE_DIGEST": "You can just remove it.",
"LTCONFIG_OVERRIDE": "You can just remove it.",
"USE_GNU_GETTEXT": "You can just remove it.",
"BUILD_ENV": "Use PKGSRC_MAKE_ENV instead.",
"DYNAMIC_MASTER_SITES": "You can just remove it.",
// September 2006
"MAKEFILE": "Use MAKE_FILE instead.",
// November 2006
"SKIP_PORTABILITY_CHECK": "Use CHECK_PORTABILITY_SKIP (a list of patterns) instead.",
"PKG_SKIP_REASON": "Use PKG_FAIL_REASON instead.",
// January 2007
"BUILDLINK_TRANSFORM.*": "Use BUILDLINK_FNAME_TRANSFORM.* instead.",
// March 2007
"SCRIPTDIR": "You can just remove it.",
"NO_PKG_REGISTER": "You can just remove it.",
"NO_DEPENDS": "You can just remove it.",
// October 2007
"_PKG_SILENT": "Use RUN (with more error checking) instead.",
"_PKG_DEBUG": "Use RUN (with more error checking) instead.",
"LICENCE": "Use LICENSE instead.",
// The following variable is not yet deprecated, as there has been
// a large disagreement on the proper spelling.
//ACCEPTABLE_LICENCES Use ACCEPTABLE_LICENSES instead.
// November 2007
//USE_NCURSES Include "../../devel/ncurses/buildlink3.mk" instead.
// December 2007
"INSTALLATION_DIRS_FROM_PLIST": "Use AUTO_MKDIRS instead.",
// April 2009
"NO_PACKAGE": "It doesn't exist anymore.",
"NO_MTREE": "You can just remove it.",
// July 2012
"SETGIDGAME": "Use USE_GAMESGROUP instead.",
"GAMEGRP": "Use GAMES_GROUP instead.",
"GAMEOWN": "Use GAMES_USER instead.",
// July 2013
"USE_GNU_READLINE": "Include \"../../devel/readline/buildlink3.mk\" instead.",
// October 2014
"SVR4_PKGNAME": "Just remove it.",
"PKG_INSTALLATION_TYPES": "Just remove it.",
}
}
|