tech-pkg archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/42438: cross/avr-gcc doesn't support DESTDIR
Done this one too.
diff -u -r1.21 Makefile
--- 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