diff options
-rw-r--r-- | devel/pthread-stublib/Makefile | 6 | ||||
-rw-r--r-- | devel/pthread-stublib/files/Makefile | 4 |
2 files changed, 7 insertions, 3 deletions
diff --git a/devel/pthread-stublib/Makefile b/devel/pthread-stublib/Makefile index 4f270a31b4f..fcebb622381 100644 --- a/devel/pthread-stublib/Makefile +++ b/devel/pthread-stublib/Makefile @@ -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 @@ USE_LIBTOOL= yes ONLY_FOR_PLATFORM= NetBSD-[12].*-* +PKG_DESTDIR_SUPPORT= user-destdir + +INSTALLATION_DIRS= lib + do-extract: ${CP} ${FILESDIR}/pthread-stubs.c ${FILESDIR}/Makefile ${WRKSRC} diff --git a/devel/pthread-stublib/files/Makefile b/devel/pthread-stublib/files/Makefile index ec4538a1a34..023abd19041 100644 --- a/devel/pthread-stublib/files/Makefile +++ b/devel/pthread-stublib/files/Makefile @@ -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 @@ pthread-stubs.lo: pthread-stubs.c install: ${LIBTOOL} --mode=install ${BSD_INSTALL_LIB} libpthstub.la \ - ${PREFIX}/lib + ${DESTDIR}${PREFIX}/lib |