summaryrefslogtreecommitdiff
path: root/package/fltk/patches
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2011-01-18 18:10:19 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2011-01-18 18:10:19 +0100
commit46b2bb3001ce838ba2483a08418587d8a027f3a9 (patch)
treeb2b618839b5afcc859fcb90556e6f199d9a9a10c /package/fltk/patches
parent88d3e6d6c572143bd95a589a44e30bfefd616b88 (diff)
parent902ee7e7b23751ca7a8264d36a837aa4aae12032 (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'package/fltk/patches')
-rw-r--r--package/fltk/patches/patch-Makefile11
-rw-r--r--package/fltk/patches/patch-fltk2-config_in27
2 files changed, 38 insertions, 0 deletions
diff --git a/package/fltk/patches/patch-Makefile b/package/fltk/patches/patch-Makefile
new file mode 100644
index 000000000..466aef887
--- /dev/null
+++ b/package/fltk/patches/patch-Makefile
@@ -0,0 +1,11 @@
+--- fltk-2.0.x-r7513.orig/Makefile 2010-04-15 18:29:49.000000000 +0200
++++ fltk-2.0.x-r7513/Makefile 2011-01-14 22:01:49.000000000 +0100
+@@ -25,7 +25,7 @@
+
+ include makeinclude
+
+-DIRS = src $(LOCALIMAGES) images OpenGL fluid glut test
++DIRS = src $(LOCALIMAGES) images OpenGL fluid
+
+ all: makeinclude
+ for dir in $(DIRS); do\
diff --git a/package/fltk/patches/patch-fltk2-config_in b/package/fltk/patches/patch-fltk2-config_in
new file mode 100644
index 000000000..c4784688a
--- /dev/null
+++ b/package/fltk/patches/patch-fltk2-config_in
@@ -0,0 +1,27 @@
+--- fltk-2.0.x-r7513.orig/fltk2-config.in 2006-04-15 19:43:12.000000000 +0200
++++ fltk-2.0.x-r7513/fltk2-config.in 2011-01-08 23:34:40.000000000 +0100
+@@ -77,7 +77,6 @@ LDLIBS="@LDFLAGS@ @LIBS@"
+ # libraries to link with:
+ LIBNAME="@LIBNAME@"
+ DSONAME="@DSONAME@"
+-DSOLINK="@DSOLINK@"
+ IMAGELIBS="@IMAGELIBS@"
+ SHAREDSUFFIX="@SHAREDSUFFIX@"
+
+@@ -168,7 +167,6 @@ do
+ bindir=${exec_prefix}
+ includedir=${prefix}/include
+ libdir=${prefix}/lib
+- DSOLINK="-Wl,-rpath,${prefix}/lib"
+ ;;
+ --prefix)
+ echo_prefix=yes
+@@ -283,7 +281,7 @@ if test x$use_images = xyes; then
+ LDSTATIC="$libdir/libfltk2_images.a $LDSTATIC $IMAGELIBS"
+ fi
+
+-LDLIBS="$DSOLINK $LDLIBS"
++LDLIBS="$LDLIBS"
+ LDSTATIC="$LDSTATIC_PATHS $LDSTATIC"
+
+ # Answer to user requests