pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/42438: cross/avr-gcc doesn't support DESTDIR
>Number: 42438
>Category: pkg
>Synopsis: cross/avr-gcc doesn't support DESTDIR
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Dec 11 01:55:00 +0000 2009
>Originator: Lloyd Parkes
>Release: 5.0.1
>Organization:
Must Have Coffee
>Environment:
NetBSD rhox.must-have-coffee.gen.nz 5.0.1 NetBSD 5.0.1 (GENERIC) #1: Sun Sep 20
14:09:09 NZST 2009
lloyd%rhox.must-have-coffee.gen.nz@localhost:/vol/scratch/build5/obj.amd64/sys/arch/amd64/compile/GENERIC
amd64
>Description:
cross/avr-gcc doesn't support DESTDIR
>How-To-Repeat:
Build it.
>Fix:
--- Makefile 27 Aug 2009 15:29:37 -0000 1.21
+++ Makefile 11 Dec 2009 01:40:15 -0000
@@ -11,10 +11,14 @@
MAINTAINER= pkgsrc-users%NetBSD.org@localhost
COMMENT= GNU gcc-4.4 for Atmel AVR 8-bit RISC microcontrollers
+PKG_DESTDIR_SUPPORT= user-destdir
+
DEPENDS+= avr-binutils-[0-9]*:../../cross/avr-binutils
BUILD_DEPENDS+= autoconf-[0-9]*:../../devel/autoconf
BUILD_DEPENDS+= bison-[0-9]*:../../devel/bison
+INSTALLATION_DIRS= avr/bin
+
GNU_CONFIGURE= yes
USE_BZIP2= yes
USE_TOOLS+= bison gmake lex perl tar msgfmt
@@ -47,7 +51,7 @@
(${_ULIMIT_CMD} cd ${WRKDIR}/obj && ${SETENV} ${MAKE_ENV} ${GMAKE}
-j${MAKE_JOBS:U1} )
do-install:
- cd ${WRKDIR}/obj && ${SETENV} ${MAKE_ENV} ${GMAKE} install
+ cd ${WRKDIR}/obj && ${SETENV} ${MAKE_ENV} ${GMAKE} install
DESTDIR=${DESTDIR:Q}
.include "../../devel/gmp/buildlink3.mk"
.include "../../math/mpfr/buildlink3.mk"
Home |
Main Index |
Thread Index |
Old Index