aboutsummaryrefslogtreecommitdiff
path: root/x11-toolkits/fltk
diff options
context:
space:
mode:
authorDmitry Sivachenko <demon@FreeBSD.org>2005-06-25 18:25:28 +0000
committerDmitry Sivachenko <demon@FreeBSD.org>2005-06-25 18:25:28 +0000
commit2a70195a3279f249145863bc2db72f7b4b5db079 (patch)
tree2403db411edf63ee4d3165b0cb66598462e8e4dd /x11-toolkits/fltk
parent7a86b069595ccf5d2ef3fe2cd5f0c6604c67e3a1 (diff)
downloadports-2a70195a3279f249145863bc2db72f7b4b5db079.tar.gz
ports-2a70195a3279f249145863bc2db72f7b4b5db079.zip
Notes
Diffstat (limited to 'x11-toolkits/fltk')
-rw-r--r--x11-toolkits/fltk/files/patch-fltk-config.in20
1 files changed, 20 insertions, 0 deletions
diff --git a/x11-toolkits/fltk/files/patch-fltk-config.in b/x11-toolkits/fltk/files/patch-fltk-config.in
new file mode 100644
index 000000000000..5be8cdc224ba
--- /dev/null
+++ b/x11-toolkits/fltk/files/patch-fltk-config.in
@@ -0,0 +1,20 @@
+--- fltk-config.in.orig Mon Sep 6 15:20:52 2004
++++ fltk-config.in Sat Jun 25 11:45:04 2005
+@@ -180,7 +180,7 @@
+ fi
+
+ # Calculate needed libraries
+-LDSTATIC="$libdir/libfltk.a $LDLIBS"
++LDSTATIC="-lm $libdir/libfltk.a $LDLIBS"
+ LDLIBS="-lfltk$SHAREDSUFFIX $LDLIBS"
+ LIBS="$libdir/libfltk.a"
+
+@@ -247,7 +247,7 @@
+ fi
+
+ if test "$echo_ldflags" = "yes"; then
+- my_libs=
++ my_libs="-lm"
+ libdirs=$libs
+
+ for i in $LDLIBS ; do