Prefix the gcc options with gcc- and add descriptions for each option. Requested by wiz.diff -r1.4 -r1.5 pkgsrc/lang/gcc44/options.mk
(hans)
@@ -1,59 +1,59 @@ | @@ -1,59 +1,59 @@ | |||
1 | # $NetBSD: options.mk,v 1.4 2011/07/12 18:05:58 hans Exp $ | 1 | # $NetBSD: options.mk,v 1.5 2011/07/13 13:13:43 hans Exp $ | |
2 | 2 | |||
3 | PKG_OPTIONS_VAR= PKG_OPTIONS.gcc44 | 3 | PKG_OPTIONS_VAR= PKG_OPTIONS.gcc44 | |
4 | PKG_SUPPORTED_OPTIONS= nls c++ fortran java objc #ada | 4 | PKG_SUPPORTED_OPTIONS= nls gcc-c++ gcc-fortran gcc-java gcc-objc #gcc-ada | |
5 | PKG_SUGGESTED_OPTIONS= c++ fortran java objc | 5 | PKG_SUGGESTED_OPTIONS= gcc-c++ gcc-fortran gcc-java gcc-objc | |
6 | .if ${OPSYS} == "NetBSD" | 6 | .if ${OPSYS} == "NetBSD" | |
7 | PKG_SUGGESTED_OPTIONS+= nls | 7 | PKG_SUGGESTED_OPTIONS+= nls | |
8 | .endif | 8 | .endif | |
9 | 9 | |||
10 | PKG_OPTIONS_LEGACY_VARS+= BUILD_CXX:c++ | 10 | PKG_OPTIONS_LEGACY_VARS+= BUILD_CXX:gcc-c++ | |
11 | PKG_OPTIONS_LEGACY_VARS+= BUILD_FORTRAN:fortran | 11 | PKG_OPTIONS_LEGACY_VARS+= BUILD_FORTRAN:gcc-fortran | |
12 | PKG_OPTIONS_LEGACY_VARS+= BUILD_JAVA:java | 12 | PKG_OPTIONS_LEGACY_VARS+= BUILD_JAVA:gcc-java | |
13 | PKG_OPTIONS_LEGACY_VARS+= BUILD_OBJC:objc | 13 | PKG_OPTIONS_LEGACY_VARS+= BUILD_OBJC:gcc-objc | |
14 | 14 | |||
15 | .include "../../mk/bsd.options.mk" | 15 | .include "../../mk/bsd.options.mk" | |
16 | 16 | |||
17 | ### | 17 | ### | |
18 | ### Native Language Support | 18 | ### Native Language Support | |
19 | ### | 19 | ### | |
20 | .if !empty(PKG_OPTIONS:Mnls) | 20 | .if !empty(PKG_OPTIONS:Mnls) | |
21 | CONFIGURE_ARGS+= --enable-nls | 21 | CONFIGURE_ARGS+= --enable-nls | |
22 | USE_TOOLS+= msgfmt | 22 | USE_TOOLS+= msgfmt | |
23 | .include "../../converters/libiconv/buildlink3.mk" | 23 | .include "../../converters/libiconv/buildlink3.mk" | |
24 | .include "../../devel/gettext-lib/buildlink3.mk" | 24 | .include "../../devel/gettext-lib/buildlink3.mk" | |
25 | .else | 25 | .else | |
26 | CONFIGURE_ARGS+= --disable-nls | 26 | CONFIGURE_ARGS+= --disable-nls | |
27 | .endif | 27 | .endif | |
28 | 28 | |||
29 | ### | 29 | ### | |
30 | ### Optional languages | 30 | ### Optional languages | |
31 | ### Ada could be added although there is a bootstrapping issue. See | 31 | ### Ada could be added although there is a bootstrapping issue. See | |
32 | ### ../gcc34-ada for guidance | 32 | ### ../gcc34-ada for guidance | |
33 | ### | 33 | ### | |
34 | 34 | |||
35 | LANGS= c | 35 | LANGS= c | |
36 | 36 | |||
37 | .if !empty(PKG_OPTIONS:Mjava) | 37 | .if !empty(PKG_OPTIONS:Mgcc-java) | |
38 | . if empty(PKG_OPTIONS:Mc++) | 38 | . if empty(PKG_OPTIONS:Mgcc-c++) | |
39 | PKG_OPTIONS+= c++ | 39 | PKG_OPTIONS+= gcc-c++ | |
40 | . endif | 40 | . endif | |
41 | LANGS+= java | 41 | LANGS+= java | |
42 | REPLACE_PYTHON= libjava/contrib/aot-compile.in | 42 | REPLACE_PYTHON= libjava/contrib/aot-compile.in | |
43 | .endif | 43 | .endif | |
44 | 44 | |||
45 | .if !empty(PKG_OPTIONS:Mc++) | 45 | .if !empty(PKG_OPTIONS:Mgcc-c++) | |
46 | LANGS+= c++ | 46 | LANGS+= c++ | |
47 | .endif | 47 | .endif | |
48 | 48 | |||
49 | .if !empty(PKG_OPTIONS:Mfortran) | 49 | .if !empty(PKG_OPTIONS:Mgcc-fortran) | |
50 | LANGS+= fortran | 50 | LANGS+= fortran | |
51 | .endif | 51 | .endif | |
52 | 52 | |||
53 | .if !empty(PKG_OPTIONS:Mobjc) | 53 | .if !empty(PKG_OPTIONS:Mgcc-objc) | |
54 | LANGS+= objc | 54 | LANGS+= objc | |
55 | .endif | 55 | .endif | |
56 | 56 | |||
57 | #.if !empty(PKG_OPTIONS:Mada) | 57 | #.if !empty(PKG_OPTIONS:Mgcc-ada) | |
58 | #LANGS+= ada | 58 | #LANGS+= ada | |
59 | #.endif | 59 | #.endif |
@@ -145,26 +145,31 @@ fam Support using File Alteration Moni | @@ -145,26 +145,31 @@ fam Support using File Alteration Moni | |||
145 | farsight Enable farsight2 support. | 145 | farsight Enable farsight2 support. | |
146 | fastcgi Use FastCGI as the CGI manager. | 146 | fastcgi Use FastCGI as the CGI manager. | |
147 | fd-small Build smaller misc/fd package. | 147 | fd-small Build smaller misc/fd package. | |
148 | ffmpeg Enable ffmpeg support. | 148 | ffmpeg Enable ffmpeg support. | |
149 | fftw Use the fftw library for Discrete Fourier Transforms. | 149 | fftw Use the fftw library for Discrete Fourier Transforms. | |
150 | finger Enable finger support. | 150 | finger Enable finger support. | |
151 | firefox Use firefox as gecko rendering engine. | 151 | firefox Use firefox as gecko rendering engine. | |
152 | firefox3 Use firefox3 as gecko rendering engine. | 152 | firefox3 Use firefox3 as gecko rendering engine. | |
153 | flac Enable FLAC support. | 153 | flac Enable FLAC support. | |
154 | freeradius-simul-use Enable Simultaneous-Use. | 154 | freeradius-simul-use Enable Simultaneous-Use. | |
155 | freetype Enable freetype support. | 155 | freetype Enable freetype support. | |
156 | ftp Enable File Transfer Protocol (FTP) support. | 156 | ftp Enable File Transfer Protocol (FTP) support. | |
157 | fts Enable full-text searching. | 157 | fts Enable full-text searching. | |
158 | gcc-ada Build the gcc Ada frontend and libraries. | |||
159 | gcc-c++ Build the gcc C++ frontend and libraries. | |||
160 | gcc-fortran Build the gcc Fortran frontend and libraries. | |||
161 | gcc-java Build the gcc Java frontend, tools and libraries. | |||
162 | gcc-objc Build the gcc Objective-C frontend and libraries. | |||
158 | gd Use GD to render graphical output. | 163 | gd Use GD to render graphical output. | |
159 | gdal Use the GDAL library. | 164 | gdal Use the GDAL library. | |
160 | gdb6-tui Build the tui application. | 165 | gdb6-tui Build the tui application. | |
161 | gdbm Use the GNU gdbm database library. | 166 | gdbm Use the GNU gdbm database library. | |
162 | gdk-pixbuf Use gdk-pixbuf as imaging library. | 167 | gdk-pixbuf Use gdk-pixbuf as imaging library. | |
163 | geoip Enable IP-to-country-lookup using the GeoIP C library. | 168 | geoip Enable IP-to-country-lookup using the GeoIP C library. | |
164 | ggi Enable GGI support. | 169 | ggi Enable GGI support. | |
165 | ghostscript Enable GhostScript support. | 170 | ghostscript Enable GhostScript support. | |
166 | gif Enable GIF support. | 171 | gif Enable GIF support. | |
167 | gimp Enable GIMP support. | 172 | gimp Enable GIMP support. | |
168 | gimp1-helpbrowser Link against gnome1 to get a help browser. | 173 | gimp1-helpbrowser Link against gnome1 to get a help browser. | |
169 | gmp Enable gmp (GNU Multiple Precision Arithmetic Library) support. | 174 | gmp Enable gmp (GNU Multiple Precision Arithmetic Library) support. | |
170 | gmp-fat Build-in all x86 assembler code, detecting CPU at run-time. | 175 | gmp-fat Build-in all x86 assembler code, detecting CPU at run-time. |