(1) {emulators,wip}/simulavr now packages fine.

Follow (sync) how-it-has-good shape. (Makefile)
    -- meaning that not to have
    -#.include "../../wip/avr-libc/buildlink3.mk"
    but
    +BUILD_DEPENDS+=                avr-libc-[0-9]*:../../wip/avr-libc
(2) Sort Makefile as similar as doc/Makefile-example
(3) Add one item on TODO
    automake-1.14 has a problem to package, while 1.11 was OK.
      config.status: creating Makefile
      config.status: error: cannot find input file: `src/Makefile.in'
This commit is contained in:
Makoto Fujiwara 2013-09-12 14:47:23 +00:00 committed by Thomas Klausner
parent d4ac8e203d
commit 1e2eab273b
2 changed files with 27 additions and 16 deletions

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.1 2013/08/08 05:41:38 makoto Exp $
# $NetBSD: Makefile,v 1.2 2013/09/12 14:47:23 makoto Exp $
#
DISTNAME= simulavr-1.0.0
CATEGORIES= emulators
@ -10,25 +10,25 @@ 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
GIT_REPOSITORIES= master
GIT_MODULE.master= simulavr
GIT_REPO.master= git://git.savannah.nongnu.org/simulavr.git
_GIT_FLAGS?= --depth 1
GIT_REPOSITORIES= master
GIT_MODULE.master= simulavr
GIT_REPO.master= git://git.savannah.nongnu.org/simulavr.git
GIT_FLAGS?= --depth 1
WRKSRC= ${WRKDIR}/simulavr
CONFIGURE_ARGS+= --disable-tests
CONFIGURE_ARGS+= --enable-python=python2.7
CONFIGURE_ARGS+= --with-bfd=${PREFIX}/avr
USE_TOOLS+= makeinfo gmake automake autoconf
USE_LANGUAGES+= c c++
USE_TOOLS+= makeinfo gmake automake autoconf
USE_LIBTOOL= yes
USE_PKGLOCALEDIR= yes
GNU_CONFIGURE= yes
INFO_FILES= yes
USE_PKGLOCALEDIR= yes
WRKSRC= ${WRKDIR}/${PKGBASE}
CONFIGURE_ARGS+= --disable-tests
CONFIGURE_ARGS+= --enable-python=python${PYVERSSUFFIX}
CONFIGURE_ARGS+= --with-bfd=${PREFIX}/avr
# Interim fix
SUBST_CLASSES+= prefix
@ -50,12 +50,15 @@ SUBST_SED.makeinfo= -e 's,@MAKEINFO@,${PREFIX}/bin/makeinfo,g'
pre-configure:
(cd ${WRKSRC}; ./bootstrap)
.include "../../wip/avr-binutils/buildlink3.mk"
.include "../../wip/avr-gcc/buildlink3.mk"
.include "../../wip/mk/git-package.mk"
.include "../../cross/avr-binutils/buildlink3.mk"
.include "../../cross/avr-gcc/buildlink3.mk"
.include "../../devel/swig/buildlink3.mk"
#.include "../../wip/avr-libc/buildlink3.mk"
.include "../../mk/curses.buildlink3.mk"
.include "../../lang/python27/buildlink3.mk"
.include "../../lang/python/pyversion.mk"
.include "../../lang/${PYPACKAGE}/buildlink3.mk"
.include "../../lang/tcl-itcl/buildlink3.mk"
.include "../../lang/tcl/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"

View file

@ -36,3 +36,11 @@ checking for iverilog... no
checking for vvp... no
build verilog modul avr.vpi = no
- automake 1.11 is OK, but with automake 1.14, make stops at
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating regress/regress.py
config.status: creating Makefile
config.status: error: cannot find input file: `src/Makefile.in'
*** Error code 1