diff options
author | joerg <joerg@pkgsrc.org> | 2010-02-14 20:34:58 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2010-02-14 20:34:58 +0000 |
commit | 0b40755bde56709f852edc4c63b1309b8f6f159d (patch) | |
tree | ee90ea2f207c76e9376e915724bb4e25b2cfa5df /cross | |
parent | 3a97bda8084c9574c246fc8e8f02562e877f9421 (diff) | |
download | pkgsrc-0b40755bde56709f852edc4c63b1309b8f6f159d.tar.gz |
DESTDIR support
Diffstat (limited to 'cross')
-rw-r--r-- | cross/avr-gdb/Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
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" |