summaryrefslogtreecommitdiff
path: root/devel/libiberty/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'devel/libiberty/Makefile')
-rw-r--r--devel/libiberty/Makefile12
1 files changed, 8 insertions, 4 deletions
diff --git a/devel/libiberty/Makefile b/devel/libiberty/Makefile
index b837abc0518..7d27a6ccc99 100644
--- a/devel/libiberty/Makefile
+++ b/devel/libiberty/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.6 2006/02/05 23:08:45 joerg Exp $
+# $NetBSD: Makefile,v 1.7 2008/03/03 17:45:35 jlam Exp $
#
DISTNAME= libiberty-1.0
@@ -10,6 +10,7 @@ MAINTAINER= john@johnrshannon.com
COMMENT= This package provides the GNU liberty library of "missing" functions
PKG_INSTALLATION_TYPES= overwrite pkgviews
+PKG_DESTDIR_SUPPORT= user-destdir
USE_TOOLS+= gmake
GNU_CONFIGURE= yes
@@ -20,8 +21,11 @@ post-extract:
${CP} -f ${WRKSRC}/include/ansidecl.h ${WRKSRC}/include/libiberty_decl.h
do-install:
- ${INSTALL_LIB} ${WRKSRC}/libiberty/libiberty.a ${PREFIX}/lib/
- ${INSTALL_DATA} ${WRKSRC}/include/libiberty_decl.h ${PREFIX}/include/
- ${INSTALL_DATA} ${WRKSRC}/include/libiberty.h ${PREFIX}/include/
+ ${INSTALL_LIB} ${WRKSRC}/libiberty/libiberty.a \
+ ${DESTDIR}${PREFIX}/lib/
+ ${INSTALL_DATA} ${WRKSRC}/include/libiberty_decl.h \
+ ${DESTDIR}${PREFIX}/include/
+ ${INSTALL_DATA} ${WRKSRC}/include/libiberty.h \
+ ${DESTDIR}${PREFIX}/include/
.include "../../mk/bsd.pkg.mk"