DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=39163>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=39163

           Summary: Makefile.in for XML-Security-C v1.2.1 is broken
           Product: Security
           Version: unspecified
          Platform: All
        OS/Version: other
            Status: NEW
          Severity: normal
          Priority: P2
         Component: C++ Canonicalization
        AssignedTo: [email protected]
        ReportedBy: [EMAIL PROTECTED]


The default Makefile.in shipped with XML-Security-C does not correctly support
installing into DESTDIR's where DESTDIR/lib doesn't already exist.  Because of
this, the make install DESTDIR=whatever fails, because it names the first
library to be installed "lib" instead of creating the directory first.

The following patch fixes this issue:

backports:~/work/debian/packaging/xml-security-c-1.2.1/debian/patches> cat
01-libdestdir.dpatch
#! /bin/sh /usr/share/dpatch/dpatch-run
## 01-libdestdir.dpatch by  <[EMAIL PROTECTED]>
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: No description.

@DPATCH@
diff -urNad xml-security-c-1.2.1/src/Makefile.in
/tmp/dpep.pggFB0/xml-security-c-1.2.1/src/Makefile.in
--- xml-security-c-1.2.1/src/Makefile.in        2005-05-13 22:22:07.000000000 
-0700
+++ /tmp/dpep.pggFB0/xml-security-c-1.2.1/src/Makefile.in       2006-03-30
19:49:16.000000000 -0800
@@ -190,6 +190,7 @@
        $(MAKE) -C ${UNIXUTILS_DIR} install
        $(MAKE) -C ${XENC_DIR} install
        $(MAKE) -C ${XKMS_DIR} install
+       mkdir -p $(DESTDIR)${libdir}
        @INSTALL_COMMAND_1@
        @INSTALL_COMMAND_2@
        @INSTALL_COMMAND_3@

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

Reply via email to