freebsd-ports/x11-toolkits/fltk11/files/patch-fltk-config.in
Diane Bruce e2594fa655 - Add version fltk-1.1.10 as fltk11 for ports that still need it
look at log for fltk for previous versions
- No man pages or docs as this port is deprecated

Feature safe:	yes
2011-12-05 20:31:53 +00:00

20 lines
441 B
Text

--- 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