pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/security/cy2-saml Fix DESTDIR build



details:   https://anonhg.NetBSD.org/pkgsrc/rev/15bd4c10293e
branches:  trunk
changeset: 565745:15bd4c10293e
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Wed Oct 07 17:39:41 2009 +0000

description:
Fix DESTDIR build

diffstat:

 security/cy2-saml/Makefile |  9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)

diffs (24 lines):

diff -r 638f4e6d252a -r 15bd4c10293e security/cy2-saml/Makefile
--- a/security/cy2-saml/Makefile        Wed Oct 07 17:34:53 2009 +0000
+++ b/security/cy2-saml/Makefile        Wed Oct 07 17:39:41 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1.1.1 2009/09/13 19:57:36 manu Exp $
+# $NetBSD: Makefile,v 1.2 2009/10/07 17:39:41 joerg Exp $
 #
 
 PKGNAME=       ${DISTNAME:S/crudesaml-/cy2-saml-/}
@@ -8,10 +8,11 @@
 
 PKG_DESTDIR_SUPPORT=    user-destdir
 
+INSTALLATION_DIRS=     ${PKGMANDIR}/man5 ${PLUGINDIR}
+
 do-install:
-       ${INSTALL_DATA_DIR} ${DESTDIR}${PLUGINDIR}
-       cd ${WRKSRC} && ${SHLIBTOOL} --mode=install \
-               ${INSTALL_PROGRAM} libsaml.la ${DESTDIR}${PLUGINDIR}
+       ${SHLIBTOOL} --mode=install \
+               ${INSTALL_PROGRAM} ${WRKSRC}/libsaml.la ${DESTDIR}${PLUGINDIR}
        ${INSTALL_MAN} ${WRKSRC}/cy2_saml.5 \
                ${DESTDIR}${PREFIX}/${PKGMANDIR}/man5
 



Home | Main Index | Thread Index | Old Index