summaryrefslogtreecommitdiff
path: root/cross/avr-gdb
diff options
context:
space:
mode:
authorjoerg <joerg>2010-02-14 20:34:58 +0000
committerjoerg <joerg>2010-02-14 20:34:58 +0000
commit81e683d1bb5639ac63d397a429a0e7962a5eddf6 (patch)
treeee90ea2f207c76e9376e915724bb4e25b2cfa5df /cross/avr-gdb
parentb7b0810af03b479469e4526ca241396193696374 (diff)
downloadpkgsrc-81e683d1bb5639ac63d397a429a0e7962a5eddf6.tar.gz
DESTDIR support
Diffstat (limited to 'cross/avr-gdb')
-rw-r--r--cross/avr-gdb/Makefile6
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"