aboutsummaryrefslogtreecommitdiff
path: root/lang/sdcc/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'lang/sdcc/Makefile')
-rw-r--r--lang/sdcc/Makefile17
1 files changed, 6 insertions, 11 deletions
diff --git a/lang/sdcc/Makefile b/lang/sdcc/Makefile
index d5622579e970..b427b45b9008 100644
--- a/lang/sdcc/Makefile
+++ b/lang/sdcc/Makefile
@@ -1,9 +1,8 @@
# $FreeBSD$
PORTNAME= sdcc
-PORTVERSION= 3.9.0
+PORTVERSION= 4.0.0
DISTVERSIONPREFIX=src-
-PORTREVISION= 2
CATEGORIES= lang
MASTER_SITES= SF
@@ -15,15 +14,16 @@ LICENSE_COMB= multi
LICENSE_FILE_GPLv2= ${WRKSRC}/COPYING
LICENSE_FILE_GPLv3= ${WRKSRC}/sdas/COPYING3
-BROKEN_aarch64= Fails to configure: BFD does not support target aarch64-portbld-freebsd11.0
-
BUILD_DEPENDS= ${LOCALBASE}/include/boost/graph/adjacency_list.hpp:devel/boost-libs
CONFLICTS_INSTALL= sdcc-[0-9]* sdcc-devel-[0-9]*
GNU_CONFIGURE= yes
-USES= bison compiler:c++11-lang gmake readline:port python shebangfix \
- tar:bzip2
+USES= autoreconf:build bison compiler:c++11-lang gmake \
+ readline:port python shebangfix tar:bzip2
SHEBANG_FILES= support/scripts/as2gbmap.py
+TEST_WRKSRC= ${WRKSRC}/support/regression
+TEST_ARGS= --no-print-directory # tons of them, way too annoying
+TEST_TARGET= all
OPTIONS_DEFINE= SDCCLIB DEVLIB DOCS UCSIM
OPTIONS_MULTI= TARGETS
@@ -97,11 +97,6 @@ post-patch:
${WRKSRC}/device/non-free/lib/pic16/Makefile.in \
${WRKSRC}/device/non-free/lib/pic16/configure \
${WRKSRC}/device/non-free/lib/pic16/libdev/Makefile.in
-# Upstream forgot to run some autotools in this release so make tries to run
-# them. Change a timestamp so aclocal.m4 and Makefile.in no longer appear
-# out-of-date.
- @${TOUCH} -r ${WRKSRC}/device/non-free/lib/pic16/configure.ac \
- ${WRKSRC}/device/non-free/lib/pic16/supported-devices.ac
post-patch-DOCS-off:
@${REINPLACE_CMD} 's, [a-z-]*doc,,' \