From a044901f3691f916db342032200dacfe35ecaba9 Mon Sep 17 00:00:00 2001 From: pertusus Date: Sun, 21 Oct 2007 10:41:07 +0000 Subject: [PATCH] add patch --- libdap-3.7.8-nolibdir.patch | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 libdap-3.7.8-nolibdir.patch diff --git a/libdap-3.7.8-nolibdir.patch b/libdap-3.7.8-nolibdir.patch new file mode 100644 index 0000000..2a755fb --- /dev/null +++ b/libdap-3.7.8-nolibdir.patch @@ -0,0 +1,30 @@ +diff -up libdap-3.7.8/dap-config.in.nolibdir libdap-3.7.8/dap-config.in +--- libdap-3.7.8/dap-config.in.nolibdir 2007-10-21 10:55:52.000000000 +0200 ++++ libdap-3.7.8/dap-config.in 2007-10-21 10:57:03.000000000 +0200 +@@ -4,7 +4,6 @@ + # + prefix=@prefix@ + exec_prefix=${prefix} +-libdir=${exec_prefix}/lib + includedir=${prefix}/include + + usage() +@@ -59,15 +58,15 @@ while test $# -gt 0; do + ;; + + --libs) +- echo "-L${libdir} -ldap -ldapserver -ldapclient @CURL_STATIC_LIBS@ @XML2_STATIC_LIBS@ @PTHREAD_LIBS@ @LIBS@" ++ echo "-ldap -ldapserver -ldapclient @CURL_STATIC_LIBS@ @XML2_STATIC_LIBS@ @PTHREAD_LIBS@ @LIBS@" + ;; + + --server-libs) +- echo "-L${libdir} -ldap -ldapserver @XML2_STATIC_LIBS@ @PTHREAD_LIBS@ @LIBS@" ++ echo "-ldap -ldapserver @XML2_STATIC_LIBS@ @PTHREAD_LIBS@ @LIBS@" + ;; + + --client-libs) +- echo "-L${libdir} -ldap -ldapclient @CURL_STATIC_LIBS@ @XML2_STATIC_LIBS@ @PTHREAD_LIBS@ @LIBS@" ++ echo "-ldap -ldapclient @CURL_STATIC_LIBS@ @XML2_STATIC_LIBS@ @PTHREAD_LIBS@ @LIBS@" + ;; + + --prefix)