Now packaging confirmed on pbulk environment.

Makefile
- Add avr-libc in depeding list
  +BUILD_DEPENDS+=                avr-libc-[0-9]*:../../wip/avr-libc
  (buildlink3.mk doen't seem to work).
- Missing swig added
  +.include "../../devel/swig/buildlink3.mk"

PLIST
- examples/python directory doesn't seem to be activated.
  Drop from PLIST.
This commit is contained in:
Makoto Fujiwara 2013-09-12 04:56:07 +00:00 committed by Thomas Klausner
parent e6e79bd29a
commit c383337de2
3 changed files with 15 additions and 30 deletions

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.5 2013/08/25 14:51:23 makoto Exp $
# $NetBSD: Makefile,v 1.6 2013/09/12 04:56:07 makoto Exp $
#
DISTNAME= simulavr-1.0.0
CATEGORIES= emulators
@ -10,10 +10,14 @@ COMMENT= Simulator for Atmel AVR microcontrollers
LICENSE= gnu-gpl-v2
BUILD_DEPENDS+= doxygen-[0-9]*:../../devel/doxygen
BUILD_DEPENDS+= avr-libc-[0-9]*:../../wip/avr-libc
CONFIGURE_ARGS+= --disable-tests
CONFIGURE_ARGS+= --enable-python=python${PYVERSSUFFIX}
CONFIGURE_ARGS+= --with-bfd=${PREFIX}/avr
# Following line does not work yet (examples/python directory)
#CONFIGURE_ENV+= az_python_use=true
#MAKE_ENV+= az_python_use=true
USE_TOOLS+= makeinfo gmake
USE_LIBTOOL= yes
@ -65,18 +69,20 @@ SUBST_SED.intrpt0= -e 's/SIG_INTERRUPT0/INT0_vect/g'
# Following case, see patches
# regress/timertest/timer_16bit.c:ISR(SIG_OUTPUT_COMPARE3B) {
SUBST_CLASSES+= makeinfo
SUBST_STAGE.makeinfo= post-configure
SUBST_CLASSES+= makeinfo
SUBST_STAGE.makeinfo= post-configure
SUBST_MESSAGE.makeinfo= set MAKEINFO path (to avoid work-directory references included)
SUBST_FILES.makeinfo= examples/anacomp/Makefile.in
SUBST_FILES.makeinfo+= examples/python/Makefile.in
SUBST_SED.makeinfo= -e 's,@MAKEINFO@,${PREFIX}/bin/makeinfo,g'
SUBST_FILES.makeinfo= examples/anacomp/Makefile.in
SUBST_FILES.makeinfo+= examples/python/Makefile.in
SUBST_SED.makeinfo= -e 's,@MAKEINFO@,${PREFIX}/bin/makeinfo,g'
# gcc 2.95 gives warnings that it cannot inline all functions.
BUILDLINK_TRANSFORM+= rm:-Werror
.include "../../cross/avr-binutils/buildlink3.mk"
.include "../../cross/avr-gcc/buildlink3.mk"
#.include "../../wip/avr-libc/buildlink3.mk"
.include "../../devel/swig/buildlink3.mk"
.include "../../mk/curses.buildlink3.mk"
.include "../../lang/python/pyversion.mk"
.include "../../lang/${PYPACKAGE}/buildlink3.mk"

View file

@ -1,4 +1,4 @@
@comment $NetBSD: PLIST,v 1.2 2013/08/08 05:38:44 makoto Exp $
@comment $NetBSD: PLIST,v 1.3 2013/09/12 04:56:07 makoto Exp $
bin/simulavr
include/simulavr/adcpin.h
include/simulavr/application.h
@ -134,26 +134,6 @@ share/doc/simulavr/examples/feedback/uart.c
share/doc/simulavr/examples/feedback/uart.h
share/doc/simulavr/examples/gui.tcl
share/doc/simulavr/examples/kbd.xbm
share/doc/simulavr/examples/python/Makefile
share/doc/simulavr/examples/python/README
share/doc/simulavr/examples/python/adc.c
share/doc/simulavr/examples/python/adc.elf
share/doc/simulavr/examples/python/adc.py
share/doc/simulavr/examples/python/ex_pinout.c
share/doc/simulavr/examples/python/ex_pinout.elf
share/doc/simulavr/examples/python/ex_pinout.py
share/doc/simulavr/examples/python/ex_utils.py
share/doc/simulavr/examples/python/example.c
share/doc/simulavr/examples/python/example.elf
share/doc/simulavr/examples/python/example.py
share/doc/simulavr/examples/python/example_io.c
share/doc/simulavr/examples/python/example_io.elf
share/doc/simulavr/examples/python/example_io.py
share/doc/simulavr/examples/python/example_pin.py
share/doc/simulavr/examples/python/multicore.c
share/doc/simulavr/examples/python/multicore.py
share/doc/simulavr/examples/python/multicore_a.elf
share/doc/simulavr/examples/python/multicore_b.elf
share/doc/simulavr/examples/simple_ex1/README
share/doc/simulavr/examples/simple_ex1/fred.c
share/doc/simulavr/examples/simple_ex1/fred.elf

View file

@ -1,5 +1,4 @@
- In configuration, seeing following message:
build verilog modul avr.vpi = no
- Followng line in Makefile may not be portable
CONFIGURE_ARGS+= --enable-python=python2.7
.include "../../lang/python27/buildlink3.mk"
- examples/python is not activated.
az_python_use=true seems to do that, but not.