aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--textproc/uncrustify/Makefile12
-rw-r--r--textproc/uncrustify/distinfo6
2 files changed, 11 insertions, 7 deletions
diff --git a/textproc/uncrustify/Makefile b/textproc/uncrustify/Makefile
index ad7ff1d1fabe..aa42f6cd86fc 100644
--- a/textproc/uncrustify/Makefile
+++ b/textproc/uncrustify/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= uncrustify
-PORTVERSION= 0.68
+PORTVERSION= 0.68.1
DISTVERSIONPREFIX= ${PORTNAME}-
CATEGORIES= textproc
@@ -12,9 +12,9 @@ COMMENT= Highly configurable source code beautifier
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
-BROKEN_mips= fails to compile: cc1plus: error: unrecognized command line option "-std=gnu++0x"
-BROKEN_mips64= fails to compile: cc1plus: error: unrecognized command line option "-std=gnu++0x"
-BROKEN_powerpc64= fails to compile: cc1plus: error: unrecognized command line option "-std=gnu++0x"
+#BROKEN_mips= fails to compile: cc1plus: error: unrecognized command line option "-std=gnu++0x"
+#BROKEN_mips64= fails to compile: cc1plus: error: unrecognized command line option "-std=gnu++0x"
+#BROKEN_powerpc64= fails to compile: cc1plus: error: unrecognized command line option "-std=gnu++0x"
USE_GITHUB= yes
@@ -26,6 +26,10 @@ PORTDOCS= *
OPTIONS_DEFINE= DOCS
+# fixes BROKENs above, but may introduce different errors
+post-patch:
+ @${REINPLACE_CMD} -e '/gnu++0x/ d' ${WRKSRC}/CMakeLists.txt
+
post-install:
@${MKDIR} ${STAGEDIR}${ETCDIR}
${INSTALL_DATA} ${WRKSRC}/etc/*.cfg ${STAGEDIR}${ETCDIR}
diff --git a/textproc/uncrustify/distinfo b/textproc/uncrustify/distinfo
index 99502856f0e6..140b96f45a62 100644
--- a/textproc/uncrustify/distinfo
+++ b/textproc/uncrustify/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1542460252
-SHA256 (uncrustify-uncrustify-uncrustify-0.68_GH0.tar.gz) = 28a0f48696c23e844979e6b7cd6398b8c74d359f0926fc649512fc0e03cbae9f
-SIZE (uncrustify-uncrustify-uncrustify-0.68_GH0.tar.gz) = 1558731
+TIMESTAMP = 1542986502
+SHA256 (uncrustify-uncrustify-uncrustify-0.68.1_GH0.tar.gz) = 038d371e7fd10feda8a27f663217eac56fd8d78b0650499e3048d544d836571d
+SIZE (uncrustify-uncrustify-uncrustify-0.68.1_GH0.tar.gz) = 1566201