freebsd-ports/graphics/pixie/files/patch-configure
John Marino cf43409cc4 graphics/pixie: Fix build on F9
PR:		194167
Submitted by:	Ports Fury
2015-02-06 19:48:07 +00:00

24 lines
1.1 KiB
Text

--- configure.orig
+++ configure
@@ -12199,7 +12199,7 @@
old_striplib=
{ $as_echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
$as_echo_n "checking whether stripping libraries is possible... " >&6; }
-if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
+if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "strip" >/dev/null; then
test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
test -z "$striplib" && striplib="$STRIP --strip-unneeded"
{ $as_echo "$as_me:$LINENO: result: yes" >&5
@@ -18418,10 +18418,10 @@
if test x$FLTK_CONFIG != xno ; then
if test x$STATIC_FLTK != xtrue ; then
FLTK_CXXFLAGS="`$FLTK_CONFIG --use-gl --cxxflags`"
- FLTK_LDFLAGS="`$FLTK_CONFIG --use-gl --ldstaticflags`"
+ FLTK_LDFLAGS="`$FLTK_CONFIG --use-gl --ldstaticflags | sed 's/ -R.* / /g'`"
else
FLTK_CXXFLAGS="`$FLTK_CONFIG --use-gl --cxxflags`"
- FLTK_LDFLAGS="`$FLTK_CONFIG --use-gl --ldflags`"
+ FLTK_LDFLAGS="`$FLTK_CONFIG --use-gl --ldflags | sed 's/ -R.* / /g'`"
fi
else
FLTK_CXXFLAGS=""