diff options
Diffstat (limited to 'app-text/pinfo/files/pinfo-0.6.9-as-needed.patch')
-rw-r--r-- | app-text/pinfo/files/pinfo-0.6.9-as-needed.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/app-text/pinfo/files/pinfo-0.6.9-as-needed.patch b/app-text/pinfo/files/pinfo-0.6.9-as-needed.patch new file mode 100644 index 000000000000..85a80e6f2602 --- /dev/null +++ b/app-text/pinfo/files/pinfo-0.6.9-as-needed.patch @@ -0,0 +1,22 @@ +--- a/macros/curses.m4 ++++ b/macros/curses.m4 +@@ -257,8 +257,8 @@ + dnl save CFLAGS and LDFLAGS and set new ones + CFLAGS_OLD=$CFLAGS + CFLAGS="$CFLAGS $curses_includes" +- LDFLAGS_OLD=$LDFLAGS +- LDFLAGS="$LDFLAGS $curses_libs" ++ LIBS_OLD=$LIBS ++ LIBS="$LIBS $curses_libs" + + dnl do the compile test + AC_MSG_CHECKING([if curses is usable]) +@@ -288,7 +288,7 @@ + + dnl restore variables + CFLAGS=$CFLAGS_OLD +- LDFLAGS=$LDFLAGS_OLD ++ LIBS=$LIBS_OLD + + ]) + |