summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2011-03-22 09:44:42 +0000
committerJustin Lecher <jlec@gentoo.org>2011-03-22 09:44:42 +0000
commit0a3f040d550d563239169162505c1704cb0eb9ab (patch)
treef1d27dee2e6efb38dd9d99b31e2171427d77b88b /x11-libs/fltk/files
parentInitial import (bug #359587). (diff)
downloadgentoo-2-0a3f040d550d563239169162505c1704cb0eb9ab.tar.gz
gentoo-2-0a3f040d550d563239169162505c1704cb0eb9ab.tar.bz2
gentoo-2-0a3f040d550d563239169162505c1704cb0eb9ab.zip
Backport fltk-config --includedir from 1.3.0, thanks rei4dan pointing on this
(Portage version: 2.2.0_alpha28/cvs/Linux x86_64)
Diffstat (limited to 'x11-libs/fltk/files')
-rw-r--r--x11-libs/fltk/files/fltk-1.1.10-includedir.patch45
1 files changed, 45 insertions, 0 deletions
diff --git a/x11-libs/fltk/files/fltk-1.1.10-includedir.patch b/x11-libs/fltk/files/fltk-1.1.10-includedir.patch
new file mode 100644
index 000000000000..dac9e755ed45
--- /dev/null
+++ b/x11-libs/fltk/files/fltk-1.1.10-includedir.patch
@@ -0,0 +1,45 @@
+ fltk-config.in | 17 +++++++++++++++++
+ 1 files changed, 17 insertions(+), 0 deletions(-)
+
+diff --git a/fltk-config.in b/fltk-config.in
+index b716d35..2251734 100755
+--- a/fltk-config.in
++++ b/fltk-config.in
+@@ -118,6 +118,8 @@ Options telling what information we request:
+ [--ldstaticflags] return flags to link against static FLTK library
+ even if there are DSOs installed
+ [--libs] return FLTK libraries full path for dependencies
++ [--prefix] return FLTK install time --prefix directory
++ [--includedir] return FLTK install time include directory
+
+ Option to compile and link an application:
+ [-g] compile the program with debugging information
+@@ -189,6 +191,12 @@ do
+ --libs)
+ echo_libs=yes
+ ;;
++ --prefix)
++ echo_prefix=yes
++ ;;
++ --includedir)
++ echo_includedir=yes
++ ;;
+ -g)
+ debug=-g
+ ;;
+@@ -337,6 +345,15 @@ if test "$echo_libs" = "yes"; then
+ fi
+ done
+ fi
++ echo $USELIBS
++fi
++
++if test "$echo_prefix" = "yes"; then
++ echo $prefix
++fi
++
++if test "$echo_includedir" = "yes"; then
++ echo $includedir
+ fi
+
+ #