1 |
bicatali 10/05/04 23:40:04 |
2 |
|
3 |
Added: octave-3.2.4-fltk-magic.patch |
4 |
Log: |
5 |
Fixed some fltk automagic |
6 |
(Portage version: 2.2_rc67/cvs/Linux x86_64) |
7 |
|
8 |
Revision Changes Path |
9 |
1.1 sci-mathematics/octave/files/octave-3.2.4-fltk-magic.patch |
10 |
|
11 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-mathematics/octave/files/octave-3.2.4-fltk-magic.patch?rev=1.1&view=markup |
12 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-mathematics/octave/files/octave-3.2.4-fltk-magic.patch?rev=1.1&content-type=text/plain |
13 |
|
14 |
Index: octave-3.2.4-fltk-magic.patch |
15 |
=================================================================== |
16 |
--- configure.in 2010-01-19 11:13:14.000000000 +0000 |
17 |
+++ configure.in.new 2010-05-05 00:56:31.000000000 +0100 |
18 |
@@ -749,6 +749,11 @@ |
19 |
GRAPHICS_CFLAGS= |
20 |
|
21 |
## fltk (www.fltk.org) |
22 |
+AC_ARG_WITH(fltk, |
23 |
+ [AS_HELP_STRING([--without-fltk], [don't use FLTK for native grphics])], |
24 |
+ with_fltk=$withval, with_fltk=yes) |
25 |
+ |
26 |
+if test "$with_fltk" = yes; then |
27 |
AC_ARG_WITH(fltk-prefix, |
28 |
[ --with-fltk-prefix=PFX Prefix where FLTK is installed (optional)], |
29 |
fltk_prefix="$withval", |
30 |
@@ -773,6 +778,9 @@ |
31 |
fi |
32 |
|
33 |
AC_PATH_PROG(FLTK_CONFIG, fltk-config, no) |
34 |
+else |
35 |
+ FLTK_CONFIG=no |
36 |
+fi |
37 |
|
38 |
warn_fltk_config="" |
39 |
warn_fltk_opengl="" |