summaryrefslogtreecommitdiffstats
path: root/ncurses-config.patch
diff options
context:
space:
mode:
authorYaakov Selkowitz <yselkowi@redhat.com>2016-03-30 19:13:51 -0500
committerYaakov Selkowitz <yselkowi@redhat.com>2016-03-30 19:13:51 -0500
commit9de47d298b902c4b2c660baf2332bf1c64cfad9a (patch)
treed7365cb692adfc0fa9bd6676e6eeae78a9551c70 /ncurses-config.patch
parent291cb189c40878341e3f64039024935c6640d569 (diff)
downloadcygwin-ncurses-9de47d298b902c4b2c660baf2332bf1c64cfad9a.tar.gz
cygwin-ncurses-9de47d298b902c4b2c660baf2332bf1c64cfad9a.tar.xz
cygwin-ncurses-9de47d298b902c4b2c660baf2332bf1c64cfad9a.zip
cygwin-ncurses 6.0-20160305
Diffstat (limited to 'ncurses-config.patch')
-rw-r--r--ncurses-config.patch32
1 files changed, 32 insertions, 0 deletions
diff --git a/ncurses-config.patch b/ncurses-config.patch
new file mode 100644
index 0000000..007d6fc
--- /dev/null
+++ b/ncurses-config.patch
@@ -0,0 +1,32 @@
+diff -up ncurses-5.9/misc/ncurses-config.in.config ncurses-5.9/misc/ncurses-config.in
+--- ncurses-5.9/misc/ncurses-config.in.config 2012-10-15 15:33:36.092521158 +0200
++++ ncurses-5.9/misc/ncurses-config.in 2012-10-15 15:34:55.906581012 +0200
+@@ -35,7 +35,6 @@ exec_prefix="@exec_prefix@"
+
+ bindir="@bindir@"
+ includedir="@includedir@"
+-libdir="@libdir@"
+ datarootdir="@datarootdir@"
+ datadir="@datadir@"
+ mandir="@mandir@"
+@@ -85,12 +84,7 @@ while test $# -gt 0; do
+ ENDECHO
+ ;;
+ --libs)
+- if test "$libdir" = /usr/lib
+- then
+ LIBDIR=
+- else
+- LIBDIR=-L$libdir
+- fi
+ if test @TINFO_NAME@ = @LIB_NAME@ ; then
+ sed -e 's,^[ ]*,,' -e 's, [ ]*, ,g' -e 's,[ ]*$,,' <<-ENDECHO
+ $LIBDIR @EXTRA_LDFLAGS@ -l${THIS} @LIBS@
+@@ -122,7 +116,6 @@ ENDECHO
+ echo "${includedir}"
+ ;;
+ --libdir)
+- echo "${libdir}"
+ ;;
+ --mandir)
+ echo "${mandir}"