pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/emulators/simulavr (emulators/simulavr) build fix, adj...
details: https://anonhg.NetBSD.org/pkgsrc/rev/3e641b93e9f7
branches: trunk
changeset: 458877:3e641b93e9f7
user: mef <mef%pkgsrc.org@localhost>
date: Wed Sep 22 06:01:31 2021 +0000
description:
(emulators/simulavr) build fix, adjust include dir etcr
diffstat:
emulators/simulavr/Makefile | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
diffs (35 lines):
diff -r f5d1c6d5979e -r 3e641b93e9f7 emulators/simulavr/Makefile
--- a/emulators/simulavr/Makefile Wed Sep 22 05:59:26 2021 +0000
+++ b/emulators/simulavr/Makefile Wed Sep 22 06:01:31 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.32 2021/09/22 02:35:40 mef Exp $
+# $NetBSD: Makefile,v 1.33 2021/09/22 06:01:31 mef Exp $
#
DISTNAME= simulavr-1.0.0
PKGREVISION= 5
@@ -17,6 +17,7 @@
CONFIGURE_ARGS+= --enable-python=python${PYVERSSUFFIX}
CONFIGURE_ARGS+= --with-bfd=${PREFIX}/avr
CONFIGURE_ARGS+= --with-libiberty=${PREFIX}/avr/lib/libiberty
+CONFIGURE_ARGS+= --includedir=${PREFIX}/avr/include ${PREFIX}/include
CONFIGURE_ENV+= TEX=no
# Following line does not work yet (examples/python directory)
@@ -24,6 +25,7 @@
#MAKE_ENV+= az_python_use=true
MAKE_JOBS_SAFE= no
+AUTO_MKDIRS= yes
USE_TOOLS+= makeinfo gmake
USE_LIBTOOL= yes
@@ -86,6 +88,9 @@
# gcc 2.95 gives warnings that it cannot inline all functions.
BUILDLINK_TRANSFORM+= rm:-Werror
+post-install:
+ ${MV} ${DESTDIR}${PREFIX}/avr/include/simulavr ${DESTDIR}${PREFIX}/include/
+
.include "../../cross/avr-binutils/buildlink3.mk"
.include "../../cross/avr-gcc/buildlink3.mk"
.include "../../devel/swig/buildlink3.mk"
Home |
Main Index |
Thread Index |
Old Index