Fix user-destdir installation.

This commit is contained in:
Thomas Klausner 2012-08-14 11:02:54 +00:00
parent c04002f7c4
commit 94e76293f4

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.2 2012/02/20 16:12:24 bartoszkuzma Exp $
# $NetBSD: Makefile,v 1.3 2012/08/14 11:02:54 thomasklausner Exp $
#
DISTNAME= libexecinfo-1.1
@ -21,7 +21,9 @@ PKG_DESTDIR_SUPPORT= user-destdir
INSTALLATION_DIRS= include lib
post-install:
do-install:
${INSTALL_LIB} ${WRKSRC}/libexecinfo.* ${DESTDIR}${PREFIX}/lib
${INSTALL_LIB} ${WRKSRC}/libexecinfo_pic.a ${DESTDIR}${PREFIX}/lib
${INSTALL_DATA} ${WRKSRC}/execinfo.h ${DESTDIR}${PREFIX}/include
.include "../../mk/bsd.pkg.mk"