Mon Mar 24 23:44:19 2008 UTC ()
If using the mplayer-ssse3 option, then include override-as.mk from binutils.


(tnn)
diff -r1.29 -r1.30 pkgsrc/multimedia/mplayer-share/options.mk

cvs diff -r1.29 -r1.30 pkgsrc/multimedia/mplayer-share/options.mk (switch to unified diff)

--- pkgsrc/multimedia/mplayer-share/options.mk 2008/03/16 21:22:45 1.29
+++ pkgsrc/multimedia/mplayer-share/options.mk 2008/03/24 23:44:19 1.30
@@ -1,304 +1,305 @@ @@ -1,304 +1,305 @@
1# $NetBSD: options.mk,v 1.29 2008/03/16 21:22:45 wiz Exp $ 1# $NetBSD: options.mk,v 1.30 2008/03/24 23:44:19 tnn Exp $
2 2
3.if defined(PKGNAME) && empty(PKGNAME:Mmplayer-share*) 3.if defined(PKGNAME) && empty(PKGNAME:Mmplayer-share*)
4 4
5# Note: This expression is the same as ${PKGBASE}, but the latter is 5# Note: This expression is the same as ${PKGBASE}, but the latter is
6# not defined yet, so we cannot use it here. 6# not defined yet, so we cannot use it here.
7PKG_OPTIONS_VAR= PKG_OPTIONS.${PKGNAME:C/-[0-9].*//} 7PKG_OPTIONS_VAR= PKG_OPTIONS.${PKGNAME:C/-[0-9].*//}
8 8
9.include "../../mk/oss.buildlink3.mk" 9.include "../../mk/oss.buildlink3.mk"
10 10
11# ------------------------------------------------------------------------- 11# -------------------------------------------------------------------------
12# Define PKG_SUPPORTED_OPTIONS based on the current package and system. 12# Define PKG_SUPPORTED_OPTIONS based on the current package and system.
13# ------------------------------------------------------------------------- 13# -------------------------------------------------------------------------
14 14
15# Options supported by both mplayer* or mencoder*. 15# Options supported by both mplayer* or mencoder*.
16 16
17PKG_SUPPORTED_OPTIONS= gif jpeg mad dts dv dvdread png theora vorbis x264 debug 17PKG_SUPPORTED_OPTIONS= gif jpeg mad dts dv dvdread png theora vorbis x264 debug
18.if ${OSS_TYPE} != "none" 18.if ${OSS_TYPE} != "none"
19PKG_SUPPORTED_OPTIONS+= oss 19PKG_SUPPORTED_OPTIONS+= oss
20.endif 20.endif
21 21
22# Set options based on the specific package being built. 22# Set options based on the specific package being built.
23.if !empty(PKGNAME:M*mplayer*) 23.if !empty(PKGNAME:M*mplayer*)
24PKG_OPTIONS_OPTIONAL_GROUPS= faadgroup 24PKG_OPTIONS_OPTIONAL_GROUPS= faadgroup
25PKG_OPTIONS_GROUP.faadgroup= faad mplayer-internal-faad 25PKG_OPTIONS_GROUP.faadgroup= faad mplayer-internal-faad
26PKG_SUGGESTED_OPTIONS+= mplayer-internal-faad 26PKG_SUGGESTED_OPTIONS+= mplayer-internal-faad
27 27
28PKG_SUPPORTED_OPTIONS+= aalib esound ggi mplayer-menu nas sdl 28PKG_SUPPORTED_OPTIONS+= aalib esound ggi mplayer-menu nas sdl
29 29
30. if ${OPSYS} != "SunOS" 30. if ${OPSYS} != "SunOS"
31PKG_SUPPORTED_OPTIONS+= arts 31PKG_SUPPORTED_OPTIONS+= arts
32. endif 32. endif
33.elif !empty(PKGNAME:M*mencoder*) 33.elif !empty(PKGNAME:M*mencoder*)
34PKG_SUPPORTED_OPTIONS+= lame 34PKG_SUPPORTED_OPTIONS+= lame
35.endif 35.endif
36 36
37# OS-specific options. 37# OS-specific options.
38.if ${OPSYS} == "FreeBSD" || ${OPSYS} == "Linux" || ${OPSYS} == "NetBSD" 38.if ${OPSYS} == "FreeBSD" || ${OPSYS} == "Linux" || ${OPSYS} == "NetBSD"
39PKG_SUPPORTED_OPTIONS+= cdparanoia 39PKG_SUPPORTED_OPTIONS+= cdparanoia
40.elif ${OPSYS} == "SunOS" 40.elif ${OPSYS} == "SunOS"
41PKG_SUPPORTED_OPTIONS+= mlib 41PKG_SUPPORTED_OPTIONS+= mlib
42.endif 42.endif
43.if ${OPSYS} == "Linux" 43.if ${OPSYS} == "Linux"
44PKG_SUPPORTED_OPTIONS+= vidix 44PKG_SUPPORTED_OPTIONS+= vidix
45.endif 45.endif
46 46
47# Platform-specific options. 47# Platform-specific options.
48.if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64" || \ 48.if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64" || \
49 ${MACHINE_ARCH} == "powerpc" 49 ${MACHINE_ARCH} == "powerpc"
50PKG_SUPPORTED_OPTIONS+= mplayer-runtime-cpudetection 50PKG_SUPPORTED_OPTIONS+= mplayer-runtime-cpudetection
51.endif 51.endif
52.if ${MACHINE_ARCH} == "i386" 52.if ${MACHINE_ARCH} == "i386"
53PKG_SUPPORTED_OPTIONS+= mplayer-default-cflags mplayer-win32 53PKG_SUPPORTED_OPTIONS+= mplayer-default-cflags mplayer-win32
54.endif 54.endif
55.if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "powerpc" || \ 55.if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "powerpc" || \
56 ${MACHINE_ARCH} == "alpha" 56 ${MACHINE_ARCH} == "alpha"
57PKG_SUPPORTED_OPTIONS+= mplayer-real 57PKG_SUPPORTED_OPTIONS+= mplayer-real
58.endif 58.endif
59.if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64" 59.if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64"
60PKG_SUPPORTED_OPTIONS+= mplayer-ssse3 60PKG_SUPPORTED_OPTIONS+= mplayer-ssse3
61.endif 61.endif
62.if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64" || \ 62.if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64" || \
63 ${MACHINE_ARCH} == "powerpc" || ${MACHINE_ARCH} == "sparc64" 63 ${MACHINE_ARCH} == "powerpc" || ${MACHINE_ARCH} == "sparc64"
64PKG_SUPPORTED_OPTIONS+= xvid 64PKG_SUPPORTED_OPTIONS+= xvid
65.endif 65.endif
66 66
67# ------------------------------------------------------------------------- 67# -------------------------------------------------------------------------
68# Define PKG_SUGGESTED_OPTIONS. 68# Define PKG_SUGGESTED_OPTIONS.
69# ------------------------------------------------------------------------- 69# -------------------------------------------------------------------------
70 70
71.for _o_ in aalib arts cdparanoia dv dvdread esound gif jpeg \ 71.for _o_ in aalib arts cdparanoia dv dvdread esound gif jpeg \
72 lame mad mplayer-menu mplayer-real \ 72 lame mad mplayer-menu mplayer-real \
73 mplayer-default-cflags mplayer-runtime-cpudetection mplayer-win32 \ 73 mplayer-default-cflags mplayer-runtime-cpudetection mplayer-win32 \
74 nas oss png sdl theora vorbis x264 xvid 74 nas oss png sdl theora vorbis x264 xvid
75. if !empty(PKG_SUPPORTED_OPTIONS:M${_o_}) 75. if !empty(PKG_SUPPORTED_OPTIONS:M${_o_})
76PKG_SUGGESTED_OPTIONS+= ${_o_} 76PKG_SUGGESTED_OPTIONS+= ${_o_}
77. endif 77. endif
78.endfor 78.endfor
79.if ${OPSYS} == "Linux" 79.if ${OPSYS} == "Linux"
80PKG_SUGGESTED_OPTIONS+= vidix 80PKG_SUGGESTED_OPTIONS+= vidix
81.endif 81.endif
82 82
83# ------------------------------------------------------------------------- 83# -------------------------------------------------------------------------
84# Handle extra libraries (part 1) 84# Handle extra libraries (part 1)
85# ------------------------------------------------------------------------- 85# -------------------------------------------------------------------------
86EXTRA_LIBS= 86EXTRA_LIBS=
87 87
88# ------------------------------------------------------------------------- 88# -------------------------------------------------------------------------
89# Handle chosen options. 89# Handle chosen options.
90# ------------------------------------------------------------------------- 90# -------------------------------------------------------------------------
91 91
92.include "../../mk/bsd.options.mk" 92.include "../../mk/bsd.options.mk"
93 93
94.if !empty(PKG_OPTIONS:Maalib) 94.if !empty(PKG_OPTIONS:Maalib)
95. include "../../graphics/aalib/buildlink3.mk" 95. include "../../graphics/aalib/buildlink3.mk"
96.endif 96.endif
97 97
98.if !empty(PKG_OPTIONS:Marts) 98.if !empty(PKG_OPTIONS:Marts)
99CONFIGURE_ARGS+= --enable-arts 99CONFIGURE_ARGS+= --enable-arts
100EXTRA_LIBS+= -lartsc 100EXTRA_LIBS+= -lartsc
101. include "../../audio/arts/buildlink3.mk" 101. include "../../audio/arts/buildlink3.mk"
102.else 102.else
103CONFIGURE_ARGS+= --disable-arts 103CONFIGURE_ARGS+= --disable-arts
104.endif 104.endif
105 105
106.if !empty(PKG_OPTIONS:Mcdparanoia) 106.if !empty(PKG_OPTIONS:Mcdparanoia)
107CONFIGURE_ARGS+= --enable-cdparanoia 107CONFIGURE_ARGS+= --enable-cdparanoia
108. include "../../audio/cdparanoia/buildlink3.mk" 108. include "../../audio/cdparanoia/buildlink3.mk"
109.else 109.else
110CONFIGURE_ARGS+= --disable-cdparanoia 110CONFIGURE_ARGS+= --disable-cdparanoia
111.endif 111.endif
112 112
113.if !empty(PKG_OPTIONS:Mdebug) 113.if !empty(PKG_OPTIONS:Mdebug)
114CONFIGURE_ARGS+= --enable-debug 114CONFIGURE_ARGS+= --enable-debug
115.endif 115.endif
116 116
117.if !empty(PKG_OPTIONS:Mdts) 117.if !empty(PKG_OPTIONS:Mdts)
118CONFIGURE_ARGS+= --enable-libdca 118CONFIGURE_ARGS+= --enable-libdca
119. include "../../audio/libdca/buildlink3.mk" 119. include "../../audio/libdca/buildlink3.mk"
120.else 120.else
121CONFIGURE_ARGS+= --disable-libdca 121CONFIGURE_ARGS+= --disable-libdca
122.endif 122.endif
123 123
124.if !empty(PKG_OPTIONS:Mdv) 124.if !empty(PKG_OPTIONS:Mdv)
125CONFIGURE_ARGS+= --enable-libdv 125CONFIGURE_ARGS+= --enable-libdv
126. include "../../multimedia/libdv/buildlink3.mk" 126. include "../../multimedia/libdv/buildlink3.mk"
127.else 127.else
128CONFIGURE_ARGS+= --disable-libdv 128CONFIGURE_ARGS+= --disable-libdv
129.endif 129.endif
130 130
131.if !empty(PKG_OPTIONS:Mdvdread) 131.if !empty(PKG_OPTIONS:Mdvdread)
132CONFIGURE_ARGS+= --enable-dvdread 132CONFIGURE_ARGS+= --enable-dvdread
133. include "../../multimedia/libdvdread/buildlink3.mk" 133. include "../../multimedia/libdvdread/buildlink3.mk"
134.else 134.else
135CONFIGURE_ARGS+= --disable-dvdread 135CONFIGURE_ARGS+= --disable-dvdread
136.endif 136.endif
137 137
138.if !empty(PKG_OPTIONS:Mesound) 138.if !empty(PKG_OPTIONS:Mesound)
139CONFIGURE_ARGS+= --enable-esd 139CONFIGURE_ARGS+= --enable-esd
140. include "../../audio/esound/buildlink3.mk" 140. include "../../audio/esound/buildlink3.mk"
141.else 141.else
142CONFIGURE_ARGS+= --disable-esd 142CONFIGURE_ARGS+= --disable-esd
143.endif 143.endif
144 144
145 145
146.if empty(PKG_OPTIONS:Mfaad) && empty(PKG_OPTIONS:Mmplayer-internal-faad) 146.if empty(PKG_OPTIONS:Mfaad) && empty(PKG_OPTIONS:Mmplayer-internal-faad)
147CONFIGURE_ARGS+= --disable-faad-external 147CONFIGURE_ARGS+= --disable-faad-external
148CONFIGURE_ARGS+= --disable-faad-internal 148CONFIGURE_ARGS+= --disable-faad-internal
149.elif !empty(PKG_OPTIONS:Mfaad) 149.elif !empty(PKG_OPTIONS:Mfaad)
150CONFIGURE_ARGS+= --enable-faad-external 150CONFIGURE_ARGS+= --enable-faad-external
151. include "../../audio/faad2/buildlink3.mk" 151. include "../../audio/faad2/buildlink3.mk"
152.else 152.else
153CONFIGURE_ARGS+= --enable-faad-internal 153CONFIGURE_ARGS+= --enable-faad-internal
154.endif 154.endif
155 155
156.if !empty(PKG_OPTIONS:Mggi) 156.if !empty(PKG_OPTIONS:Mggi)
157CONFIGURE_ARGS+= --enable-ggi 157CONFIGURE_ARGS+= --enable-ggi
158. include "../../graphics/libggi/buildlink3.mk" 158. include "../../graphics/libggi/buildlink3.mk"
159.else 159.else
160CONFIGURE_ARGS+= --disable-ggi 160CONFIGURE_ARGS+= --disable-ggi
161.endif 161.endif
162 162
163.if !empty(PKG_OPTIONS:Mgif) 163.if !empty(PKG_OPTIONS:Mgif)
164CONFIGURE_ARGS+= --enable-gif 164CONFIGURE_ARGS+= --enable-gif
165. include "../../graphics/libungif/buildlink3.mk" 165. include "../../graphics/libungif/buildlink3.mk"
166.else 166.else
167CONFIGURE_ARGS+= --disable-gif 167CONFIGURE_ARGS+= --disable-gif
168.endif 168.endif
169 169
170.if !empty(PKG_OPTIONS:Mjpeg) 170.if !empty(PKG_OPTIONS:Mjpeg)
171CONFIGURE_ARGS+= --enable-jpeg 171CONFIGURE_ARGS+= --enable-jpeg
172. include "../../graphics/jpeg/buildlink3.mk" 172. include "../../graphics/jpeg/buildlink3.mk"
173.else 173.else
174CONFIGURE_ARGS+= --disable-jpeg 174CONFIGURE_ARGS+= --disable-jpeg
175.endif 175.endif
176 176
177.if !empty(PKG_OPTIONS:Mlame) 177.if !empty(PKG_OPTIONS:Mlame)
178#CONFIGURE_ARGS+= --enable-toolame 178#CONFIGURE_ARGS+= --enable-toolame
179. include "../../audio/lame/buildlink3.mk" 179. include "../../audio/lame/buildlink3.mk"
180.else 180.else
181CONFIGURE_ARGS+= --disable-toolame 181CONFIGURE_ARGS+= --disable-toolame
182.endif 182.endif
183 183
184.if !empty(PKG_OPTIONS:Mmad) 184.if !empty(PKG_OPTIONS:Mmad)
185CONFIGURE_ARGS+= --enable-mad 185CONFIGURE_ARGS+= --enable-mad
186. include "../../audio/libmad/buildlink3.mk" 186. include "../../audio/libmad/buildlink3.mk"
187.else 187.else
188CONFIGURE_ARGS+= --disable-mad 188CONFIGURE_ARGS+= --disable-mad
189.endif 189.endif
190 190
191.if !empty(PKG_OPTIONS:Mmlib) 191.if !empty(PKG_OPTIONS:Mmlib)
192CONFIGURE_ARGS+= --enable-mlib 192CONFIGURE_ARGS+= --enable-mlib
193.else 193.else
194CONFIGURE_ARGS+= --disable-mlib 194CONFIGURE_ARGS+= --disable-mlib
195.endif 195.endif
196 196
197.if !empty(PKG_OPTIONS:Mmplayer-menu) 197.if !empty(PKG_OPTIONS:Mmplayer-menu)
198CONFIGURE_ARGS+= --enable-menu 198CONFIGURE_ARGS+= --enable-menu
199.else 199.else
200CONFIGURE_ARGS+= --disable-menu 200CONFIGURE_ARGS+= --disable-menu
201.endif 201.endif
202 202
203.if !empty(PKG_OPTIONS:Mmplayer-real) 203.if !empty(PKG_OPTIONS:Mmplayer-real)
204EVAL_PREFIX+= PREFIX.realplayer-codecs=realplayer-codecs 204EVAL_PREFIX+= PREFIX.realplayer-codecs=realplayer-codecs
205PREFIX.realplayer-codecs_DEFAULT= ${LOCALBASE} 205PREFIX.realplayer-codecs_DEFAULT= ${LOCALBASE}
206CONFIGURE_ARGS+= --enable-real 206CONFIGURE_ARGS+= --enable-real
207CONFIGURE_ARGS+= --realcodecsdir="${PREFIX.realplayer-codecs}/lib/RealPlayer8-Codecs" 207CONFIGURE_ARGS+= --realcodecsdir="${PREFIX.realplayer-codecs}/lib/RealPlayer8-Codecs"
208DEPENDS+= realplayer-codecs>=8nb2:../../multimedia/realplayer-codecs 208DEPENDS+= realplayer-codecs>=8nb2:../../multimedia/realplayer-codecs
209.else 209.else
210CONFIGURE_ARGS+= --disable-real 210CONFIGURE_ARGS+= --disable-real
211.endif 211.endif
212 212
213.if !empty(PKG_OPTIONS:Mmplayer-runtime-cpudetection) 213.if !empty(PKG_OPTIONS:Mmplayer-runtime-cpudetection)
214CONFIGURE_ARGS+= --enable-runtime-cpudetection 214CONFIGURE_ARGS+= --enable-runtime-cpudetection
215.else 215.else
216CONFIGURE_ARGS+= --disable-runtime-cpudetection 216CONFIGURE_ARGS+= --disable-runtime-cpudetection
217.endif 217.endif
218 218
219.if !empty(PKG_OPTIONS:Mmplayer-win32) 219.if !empty(PKG_OPTIONS:Mmplayer-win32)
220EVAL_PREFIX+= PREFIX.win32-codecs=win32-codecs 220EVAL_PREFIX+= PREFIX.win32-codecs=win32-codecs
221PREFIX.win32-codecs_DEFAULT= ${LOCALBASE} 221PREFIX.win32-codecs_DEFAULT= ${LOCALBASE}
222CONFIGURE_ARGS+= --enable-win32dll 222CONFIGURE_ARGS+= --enable-win32dll
223CONFIGURE_ARGS+= --win32codecsdir="${PREFIX.win32-codecs}/lib/win32" 223CONFIGURE_ARGS+= --win32codecsdir="${PREFIX.win32-codecs}/lib/win32"
224DEPENDS+= win32-codecs>=011227:../../multimedia/win32-codecs 224DEPENDS+= win32-codecs>=011227:../../multimedia/win32-codecs
225.else 225.else
226CONFIGURE_ARGS+= --disable-win32dll 226CONFIGURE_ARGS+= --disable-win32dll
227.endif 227.endif
228 228
229.if !empty(PKG_OPTIONS:Mnas) 229.if !empty(PKG_OPTIONS:Mnas)
230CONFIGURE_ARGS+= --enable-nas 230CONFIGURE_ARGS+= --enable-nas
231. include "../../audio/nas/buildlink3.mk" 231. include "../../audio/nas/buildlink3.mk"
232.else 232.else
233CONFIGURE_ARGS+= --disable-nas 233CONFIGURE_ARGS+= --disable-nas
234.endif 234.endif
235 235
236.if ${OSS_TYPE} != "none" && !empty(PKG_OPTIONS:Moss) 236.if ${OSS_TYPE} != "none" && !empty(PKG_OPTIONS:Moss)
237CONFIGURE_ARGS+= --enable-ossaudio 237CONFIGURE_ARGS+= --enable-ossaudio
238.else 238.else
239CONFIGURE_ARGS+= --disable-ossaudio 239CONFIGURE_ARGS+= --disable-ossaudio
240.endif 240.endif
241 241
242.if !empty(PKG_OPTIONS:Mpng) 242.if !empty(PKG_OPTIONS:Mpng)
243CONFIGURE_ARGS+= --enable-png 243CONFIGURE_ARGS+= --enable-png
244. include "../../graphics/png/buildlink3.mk" 244. include "../../graphics/png/buildlink3.mk"
245.else 245.else
246CONFIGURE_ARGS+= --disable-png 246CONFIGURE_ARGS+= --disable-png
247.endif 247.endif
248 248
249.if !empty(PKG_OPTIONS:Msdl) 249.if !empty(PKG_OPTIONS:Msdl)
250CONFIGURE_ARGS+= --enable-sdl 250CONFIGURE_ARGS+= --enable-sdl
251. include "../../devel/SDL/buildlink3.mk" 251. include "../../devel/SDL/buildlink3.mk"
252.else 252.else
253CONFIGURE_ARGS+= --disable-sdl 253CONFIGURE_ARGS+= --disable-sdl
254.endif 254.endif
255 255
256.if !empty(PKG_OPTIONS:Mtheora) 256.if !empty(PKG_OPTIONS:Mtheora)
257CONFIGURE_ARGS+= --enable-theora 257CONFIGURE_ARGS+= --enable-theora
258. include "../../multimedia/libtheora/buildlink3.mk" 258. include "../../multimedia/libtheora/buildlink3.mk"
259.else 259.else
260CONFIGURE_ARGS+= --disable-theora 260CONFIGURE_ARGS+= --disable-theora
261.endif 261.endif
262 262
263# disable vidix if not in options 263# disable vidix if not in options
264.if empty(PKG_OPTIONS:Mvidix) 264.if empty(PKG_OPTIONS:Mvidix)
265CONFIGURE_ARGS+= --disable-vidix-internal 265CONFIGURE_ARGS+= --disable-vidix-internal
266CONFIGURE_ARGS+= --disable-vidix-external 266CONFIGURE_ARGS+= --disable-vidix-external
267.endif 267.endif
268 268
269.if !empty(PKG_OPTIONS:Mvorbis) 269.if !empty(PKG_OPTIONS:Mvorbis)
270CONFIGURE_ARGS+= --enable-libvorbis 270CONFIGURE_ARGS+= --enable-libvorbis
271.else 271.else
272CONFIGURE_ARGS+= --disable-libvorbis 272CONFIGURE_ARGS+= --disable-libvorbis
273.endif 273.endif
274 274
275.if !empty(PKG_OPTIONS:Mx264) 275.if !empty(PKG_OPTIONS:Mx264)
276CONFIGURE_ARGS+= --enable-x264 276CONFIGURE_ARGS+= --enable-x264
277. include "../../multimedia/x264-devel/buildlink3.mk" 277. include "../../multimedia/x264-devel/buildlink3.mk"
278.else 278.else
279CONFIGURE_ARGS+= --disable-x264 279CONFIGURE_ARGS+= --disable-x264
280.endif 280.endif
281 281
282.if !empty(PKG_OPTIONS:Mxvid) 282.if !empty(PKG_OPTIONS:Mxvid)
283CONFIGURE_ARGS+= --enable-xvid 283CONFIGURE_ARGS+= --enable-xvid
284EXTRA_LIBS+= -lxvidcore 284EXTRA_LIBS+= -lxvidcore
285. include "../../multimedia/xvidcore/buildlink3.mk" 285. include "../../multimedia/xvidcore/buildlink3.mk"
286.else 286.else
287CONFIGURE_ARGS+= --disable-xvid 287CONFIGURE_ARGS+= --disable-xvid
288.endif 288.endif
289 289
290.if !empty(PKG_OPTIONS:Mmplayer-ssse3) 290.if !empty(PKG_OPTIONS:Mmplayer-ssse3)
291# needs a recent assembler 291# needs a recent assembler
292.include "../../devel/binutils/buildlink3.mk" 292.include "../../devel/binutils/buildlink3.mk"
 293.include "../../devel/binutils/override-as.mk"
293.else 294.else
294CONFIGURE_ARGS+= --disable-ssse3 295CONFIGURE_ARGS+= --disable-ssse3
295.endif 296.endif
296 297
297# ------------------------------------------------------------------------- 298# -------------------------------------------------------------------------
298# Handle extra libraries (part 1) 299# Handle extra libraries (part 1)
299# ------------------------------------------------------------------------- 300# -------------------------------------------------------------------------
300.if ${EXTRA_LIBS} != "" 301.if ${EXTRA_LIBS} != ""
301CONFIGURE_ARGS+= --extra-libs=${EXTRA_LIBS:C/^ //:Q} 302CONFIGURE_ARGS+= --extra-libs=${EXTRA_LIBS:C/^ //:Q}
302.endif 303.endif
303 304
304.endif # defined(PKGNAME) && empty(PKGNAME:Mmplayer-share*) 305.endif # defined(PKGNAME) && empty(PKGNAME:Mmplayer-share*)