From 0754ad799a2ec1b2d249ac0518e60b2fe37cefc7 Mon Sep 17 00:00:00 2001 From: joerg Date: Sun, 14 Feb 2010 20:34:58 +0000 Subject: DESTDIR support --- cross/avr-gdb/Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'cross/avr-gdb') diff --git a/cross/avr-gdb/Makefile b/cross/avr-gdb/Makefile index 57d4f252202..c9266562099 100644 --- a/cross/avr-gdb/Makefile +++ b/cross/avr-gdb/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.14 2006/08/03 19:22:31 wiz Exp $ +# $NetBSD: Makefile,v 1.15 2010/02/14 20:34:58 joerg Exp $ DISTNAME= gdb-5.3 PKGNAME= avr-gdb-5.3 @@ -9,6 +9,8 @@ MASTER_SITES= ${MASTER_SITE_GNU:=gdb/} MAINTAINER= pkgsrc-users@NetBSD.org COMMENT= GNU gdb for Atmel AVR 8-bit RISC microcontrollers +PKG_DESTDIR_SUPPORT= user-destdir + USE_TOOLS+= gmake GNU_CONFIGURE= yes CONFIGURE_ARGS+= --target=avr @@ -20,6 +22,6 @@ pre-configure: cd ${WRKSRC} ; ${RM} -rf dejagnu expect sim tcl texinfo do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/gdb/gdb ${PREFIX}/bin/avr-gdb + ${INSTALL_PROGRAM} ${WRKSRC}/gdb/gdb ${DESTDIR}${PREFIX}/bin/avr-gdb .include "../../mk/bsd.pkg.mk" -- cgit v1.2.3