add patch

This commit is contained in:
pertusus 2007-10-21 10:41:07 +00:00
parent 63c2ce5a83
commit a044901f36

View File

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