pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/pthread-stublib Fix installation and add DESTDIR...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/1647a5651e00
branches:  trunk
changeset: 537621:1647a5651e00
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Sat Jan 12 12:35:39 2008 +0000

description:
Fix installation and add DESTDIR support.

diffstat:

 devel/pthread-stublib/Makefile       |  6 +++++-
 devel/pthread-stublib/files/Makefile |  4 ++--
 2 files changed, 7 insertions(+), 3 deletions(-)

diffs (35 lines):

diff -r 8f28912226a5 -r 1647a5651e00 devel/pthread-stublib/Makefile
--- a/devel/pthread-stublib/Makefile    Sat Jan 12 11:55:02 2008 +0000
+++ b/devel/pthread-stublib/Makefile    Sat Jan 12 12:35:39 2008 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1.1.1 2006/03/21 19:23:08 drochner Exp $
+# $NetBSD: Makefile,v 1.2 2008/01/12 12:35:39 joerg Exp $
 
 DISTNAME=      pthread-stublib-1.0
 CATEGORIES=    devel
@@ -13,6 +13,10 @@
 
 ONLY_FOR_PLATFORM= NetBSD-[12].*-*
 
+PKG_DESTDIR_SUPPORT=   user-destdir
+
+INSTALLATION_DIRS=     lib
+
 do-extract:
        ${CP} ${FILESDIR}/pthread-stubs.c ${FILESDIR}/Makefile ${WRKSRC}
 
diff -r 8f28912226a5 -r 1647a5651e00 devel/pthread-stublib/files/Makefile
--- a/devel/pthread-stublib/files/Makefile      Sat Jan 12 11:55:02 2008 +0000
+++ b/devel/pthread-stublib/files/Makefile      Sat Jan 12 12:35:39 2008 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1.1.1 2006/03/21 19:23:08 drochner Exp $
+# $NetBSD: Makefile,v 1.2 2008/01/12 12:35:39 joerg Exp $
 
 all: libpthstub.la
 
@@ -10,4 +10,4 @@
 
 install:
        ${LIBTOOL} --mode=install ${BSD_INSTALL_LIB} libpthstub.la \
-               ${PREFIX}/lib
+               ${DESTDIR}${PREFIX}/lib



Home | Main Index | Thread Index | Old Index