Skip to content

Commit

Permalink
*/*: sync with upstream
Browse files Browse the repository at this point in the history
Taken from: HardenedBSD
  • Loading branch information
fichtner committed Nov 1, 2019
1 parent 3cbdc4b commit 8b5dcb3
Show file tree
Hide file tree
Showing 267 changed files with 2,401 additions and 852 deletions.
10 changes: 5 additions & 5 deletions arabic/libreoffice/distinfo
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
TIMESTAMP = 1569510030
SHA256 (libreoffice/i18n/LibreOffice_6.3.2_Linux_x86-64_deb_langpack_ar.tar.gz) = d797e3398890a088d362ca4139165d70ba610d1768394d3defb4d4dcc9be412f
SIZE (libreoffice/i18n/LibreOffice_6.3.2_Linux_x86-64_deb_langpack_ar.tar.gz) = 1653063
SHA256 (libreoffice/i18n/LibreOffice_6.3.2_Linux_x86-64_deb_helppack_ar.tar.gz) = 5cb5d3992d99fef432068d12badb325fa2497557afa4ff43e638785202ac6653
SIZE (libreoffice/i18n/LibreOffice_6.3.2_Linux_x86-64_deb_helppack_ar.tar.gz) = 1455316
TIMESTAMP = 1572542089
SHA256 (libreoffice/i18n/LibreOffice_6.3.3_Linux_x86-64_deb_langpack_ar.tar.gz) = 289287aa98d1f826c4fb4eb25835a9ba83b031684ab38ecb40a720ef2f7cc60f
SIZE (libreoffice/i18n/LibreOffice_6.3.3_Linux_x86-64_deb_langpack_ar.tar.gz) = 1650408
SHA256 (libreoffice/i18n/LibreOffice_6.3.3_Linux_x86-64_deb_helppack_ar.tar.gz) = 3604cb50a67c86273f235b029a3225120185c41837077913d1898e15b5ed0fd2
SIZE (libreoffice/i18n/LibreOffice_6.3.3_Linux_x86-64_deb_helppack_ar.tar.gz) = 1455171
2 changes: 1 addition & 1 deletion audio/libopenmpt/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# $FreeBSD$

PORTNAME= libopenmpt
PORTVERSION= 0.4.9
PORTVERSION= 0.4.10
DISTVERSIONSUFFIX= +release.autotools
CATEGORIES= audio
MASTER_SITES= https://lib.openmpt.org/files/libopenmpt/src/ \
Expand Down
6 changes: 3 additions & 3 deletions audio/libopenmpt/distinfo
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
TIMESTAMP = 1570082239
SHA256 (libopenmpt-0.4.9+release.autotools.tar.gz) = 154f88041bafcfd3b1ac6dd7a4b33784d1c9f645217ffc9dcd24a69620e7720a
SIZE (libopenmpt-0.4.9+release.autotools.tar.gz) = 1470366
TIMESTAMP = 1572531300
SHA256 (libopenmpt-0.4.10+release.autotools.tar.gz) = 6a2804d5491eaa90e4b2d7fb5d68e436113e8c8fd164fc705547bcb23a8f258a
SIZE (libopenmpt-0.4.10+release.autotools.tar.gz) = 1471662
13 changes: 10 additions & 3 deletions audio/sdl_sound/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ COMMENT= SDL audio library and player for some popular sound file formats
LICENSE= LGPL21+
LICENSE_FILE= ${WRKSRC}/COPYING

USES= libtool localbase
USES= libtool localbase sdl
GNU_CONFIGURE= yes
USE_SDL= sdl
INSTALL_TARGET= install-strip
Expand Down Expand Up @@ -49,14 +49,21 @@ SPEEX_LIB_DEPENDS= libspeex.so:audio/speex \
SPEEX_CONFIGURE_ENABLE= speex

MIDI_DESC= Software MIDI music
MIDI_RUN_DEPENDS= ${LOCALBASE}/lib/timidity/goemon.cfg:audio/timidity
MIDI_BUILD_DEPENDS= ${LOCALBASE}/lib/timidity/goemon.cfg:audio/timidity
MIDI_RUN_DEPENDS= timidity>=0:audio/timidity
MIDI_BUILD_DEPENDS= timidity>=0:audio/timidity
MIDI_CONFIGURE_ENABLE= midi

VORBIS_LIB_DEPENDS= libvorbis.so:audio/libvorbis \
libogg.so:audio/libogg
VORBIS_CONFIGURE_ENABLE=ogg

pre-configure-MIDI-on:
@if ! [ -e "${LOCALBASE}/lib/timidity/goemon.cfg" ]; then \
${ECHO_CMD} 'MIDI support requires audio/timidity port to be built with GOEMON option enabled, which is not the case'; \
${ECHO_CMD} 'Please, run `make -C ${PORTSDIR}/audio/timidity config` and enable GOEMON option to continue'; \
${FALSE}; \
fi

post-patch:
@${REINPLACE_CMD} 's|timidity.cfg|${PREFIX}/share/timidity/&|' \
${WRKSRC}/decoders/timidity/options.h
Expand Down
2 changes: 1 addition & 1 deletion cad/admesh/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

PORTNAME= admesh
DISTVERSIONPREFIX= v
DISTVERSION= 0.98.3
DISTVERSION= 0.98.4
CATEGORIES= cad

MAINTAINER= [email protected]
Expand Down
6 changes: 3 additions & 3 deletions cad/admesh/distinfo
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
TIMESTAMP = 1531641582
SHA256 (admesh-admesh-v0.98.3_GH0.tar.gz) = 6aa1bb3c68309ba72441ecb56e8b0cd6560ab9f7688de3333f8c72f8f6948ac6
SIZE (admesh-admesh-v0.98.3_GH0.tar.gz) = 39898
TIMESTAMP = 1572464060
SHA256 (admesh-admesh-v0.98.4_GH0.tar.gz) = 17e18b0e6c08c7dda879d4a0e963bea32d2593758ffd4a1a902b757115394e58
SIZE (admesh-admesh-v0.98.4_GH0.tar.gz) = 41107
18 changes: 18 additions & 0 deletions cad/admesh/files/patch-src_portable__endian.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
--- src/portable_endian.h.orig 2019-10-12 18:24:24 UTC
+++ src/portable_endian.h
@@ -54,6 +54,7 @@

# include <sys/endian.h>

+#if !defined(__FreeBSD__)
# define be16toh(x) betoh16(x)
# define le16toh(x) letoh16(x)

@@ -62,6 +63,7 @@

# define be64toh(x) betoh64(x)
# define le64toh(x) letoh64(x)
+#endif /*!defined(__FreeBSD__)*/

#elif defined(__WINDOWS__)

3 changes: 1 addition & 2 deletions cad/gtkwave/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@
# $FreeBSD$

PORTNAME= gtkwave
PORTVERSION= 3.3.101
PORTREVISION= 1
DISTVERSION= 3.3.102
CATEGORIES= cad
MASTER_SITES= http://gtkwave.sourceforge.net/

Expand Down
6 changes: 3 additions & 3 deletions cad/gtkwave/distinfo
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
TIMESTAMP = 1558688648
SHA256 (gtkwave-3.3.101.tar.gz) = 5f43cf24207ab4bf06cde18de4914fd1b2184c38393cfcf4900ac5c7fb55ccc8
SIZE (gtkwave-3.3.101.tar.gz) = 3500470
TIMESTAMP = 1571562066
SHA256 (gtkwave-3.3.102.tar.gz) = 80bb7cb92db45872209f4ca48fc95a0460e0d89b0fe0c310c836d9b04c77fec7
SIZE (gtkwave-3.3.102.tar.gz) = 3504241
10 changes: 5 additions & 5 deletions chinese/libreoffice-zh_CN/distinfo
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
TIMESTAMP = 1569510529
SHA256 (libreoffice/i18n/LibreOffice_6.3.2_Linux_x86-64_deb_langpack_zh-CN.tar.gz) = 2b2aeba5bfaf252c0144478eb08c8c7ef1bd5c78421bde534767b6d96541cd94
SIZE (libreoffice/i18n/LibreOffice_6.3.2_Linux_x86-64_deb_langpack_zh-CN.tar.gz) = 614116
SHA256 (libreoffice/i18n/LibreOffice_6.3.2_Linux_x86-64_deb_helppack_zh-CN.tar.gz) = b69d53fab170d7a1f9f28a35dee0aa89f8e27a13aaf0ded30ae12032866257f1
SIZE (libreoffice/i18n/LibreOffice_6.3.2_Linux_x86-64_deb_helppack_zh-CN.tar.gz) = 1505238
TIMESTAMP = 1572544954
SHA256 (libreoffice/i18n/LibreOffice_6.3.3_Linux_x86-64_deb_langpack_zh-CN.tar.gz) = ed2c846e289ebb3db4387e7d5e3f1e3d5b04bf6482af252a62be6042280812c6
SIZE (libreoffice/i18n/LibreOffice_6.3.3_Linux_x86-64_deb_langpack_zh-CN.tar.gz) = 614333
SHA256 (libreoffice/i18n/LibreOffice_6.3.3_Linux_x86-64_deb_helppack_zh-CN.tar.gz) = 14374604869379d797e7a9da269ed96b8396fbf729649af2e7eb82d9f18e03a4
SIZE (libreoffice/i18n/LibreOffice_6.3.3_Linux_x86-64_deb_helppack_zh-CN.tar.gz) = 1505100
10 changes: 5 additions & 5 deletions chinese/libreoffice-zh_TW/distinfo
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
TIMESTAMP = 1569510534
SHA256 (libreoffice/i18n/LibreOffice_6.3.2_Linux_x86-64_deb_langpack_zh-TW.tar.gz) = 5dd49e42149eeb9e03fe233f4ee40db6a5f8b28885277f391adfdc0dc5389f1e
SIZE (libreoffice/i18n/LibreOffice_6.3.2_Linux_x86-64_deb_langpack_zh-TW.tar.gz) = 596235
SHA256 (libreoffice/i18n/LibreOffice_6.3.2_Linux_x86-64_deb_helppack_zh-TW.tar.gz) = 098a1762e5a45c42d86620e4a80e34192929d548f0f69517fa793f08250186ce
SIZE (libreoffice/i18n/LibreOffice_6.3.2_Linux_x86-64_deb_helppack_zh-TW.tar.gz) = 1558821
TIMESTAMP = 1572544980
SHA256 (libreoffice/i18n/LibreOffice_6.3.3_Linux_x86-64_deb_langpack_zh-TW.tar.gz) = d6cf796f7a9aeefa7253bf99389394bf8aca0a6f26da4bc2ca0c32ad5dd8db3e
SIZE (libreoffice/i18n/LibreOffice_6.3.3_Linux_x86-64_deb_langpack_zh-TW.tar.gz) = 596405
SHA256 (libreoffice/i18n/LibreOffice_6.3.3_Linux_x86-64_deb_helppack_zh-TW.tar.gz) = 778aca11911ac5d798858abef6bb911bd28b63ecd6d31259cdbdc8548f63c844
SIZE (libreoffice/i18n/LibreOffice_6.3.3_Linux_x86-64_deb_helppack_zh-TW.tar.gz) = 1558759
3 changes: 3 additions & 0 deletions databases/p5-DBIx-Class-IntrospectableM2M/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,12 @@ COMMENT= Introspect many-to-many shortcuts
LICENSE= ART10 GPLv1+
LICENSE_COMB= dual

BUILD_DEPENDS= ${RUN_DEPENDS}
RUN_DEPENDS= p5-DBIx-Class>=0.06002:databases/p5-DBIx-Class

USES= perl5
USE_PERL5= configure

NO_ARCH= yes

.include <bsd.port.mk>
10 changes: 6 additions & 4 deletions databases/p5-DBIx-Class-ResultSet-RecursiveUpdate/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@
# $FreeBSD$

PORTNAME= DBIx-Class-ResultSet-RecursiveUpdate
PORTVERSION= 0.34
PORTREVISION= 1
PORTVERSION= 0.40
CATEGORIES= databases perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
Expand All @@ -19,10 +18,11 @@ RUN_DEPENDS= p5-Carp-Clan>=6.04:devel/p5-Carp-Clan \
p5-DBD-SQLite>=1.21:databases/p5-DBD-SQLite \
p5-DBIx-Class>=0.08103:databases/p5-DBIx-Class \
p5-DBIx-Class-IntrospectableM2M>=0:databases/p5-DBIx-Class-IntrospectableM2M \
p5-Data-Dumper-Concise>=2.020:devel/p5-Data-Dumper-Concise \
p5-DateTime>=0:devel/p5-DateTime \
p5-List-MoreUtils>=0.22:lang/p5-List-MoreUtils \
p5-Readonly>=1.03:devel/p5-Readonly \
p5-SQL-Translator>=0.11016:databases/p5-SQL-Translator
p5-SQL-Translator>=0.11016:databases/p5-SQL-Translator \
p5-Try-Tiny>=0.30:lang/p5-Try-Tiny
TEST_DEPENDS= p5-Moose>=0:devel/p5-Moose \
p5-MooseX-NonMoose>=0:devel/p5-MooseX-NonMoose \
p5-Test-Exception>=0:devel/p5-Test-Exception \
Expand All @@ -33,4 +33,6 @@ TEST_DEPENDS= p5-Moose>=0:devel/p5-Moose \
USES= perl5
USE_PERL5= configure

NO_ARCH= yes

.include <bsd.port.mk>
5 changes: 3 additions & 2 deletions databases/p5-DBIx-Class-ResultSet-RecursiveUpdate/distinfo
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
SHA256 (DBIx-Class-ResultSet-RecursiveUpdate-0.34.tar.gz) = 7bcda9e1d34a21fde2cc8c8ab91bfef1f8518d7fe0f75d83c58034bd0fc99e11
SIZE (DBIx-Class-ResultSet-RecursiveUpdate-0.34.tar.gz) = 69989
TIMESTAMP = 1572528633
SHA256 (DBIx-Class-ResultSet-RecursiveUpdate-0.40.tar.gz) = f283ab46dca330a0a29db267e0d42d14de3c66c9cad8a2986d6d908adc1597f4
SIZE (DBIx-Class-ResultSet-RecursiveUpdate-0.40.tar.gz) = 81754
11 changes: 11 additions & 0 deletions databases/pointcloud/files/patch-configure.ac
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
--- configure.ac.orig 2019-04-12 20:36:11 UTC
+++ configure.ac
@@ -274,7 +274,7 @@ fi


dnl Extract the linker and include flags
-XML2_LDFLAGS=`$XML2CONFIG --libs`
+XML2_LDFLAGS=`$XML2CONFIG --libs | sed 's|-L/usr/lib||g'`
XML2_CPPFLAGS=`$XML2CONFIG --cflags`

dnl Extract the version
3 changes: 1 addition & 2 deletions databases/postgresql-odbc/Makefile
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
# $FreeBSD$

PORTNAME= postgresql
PORTVERSION= 11.01.0000
PORTREVISION= 1
PORTVERSION= 12.00.0000
CATEGORIES= databases
MASTER_SITES= PGSQL/odbc/versions/src
PKGNAMESUFFIX= -odbc
Expand Down
6 changes: 3 additions & 3 deletions databases/postgresql-odbc/distinfo
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
TIMESTAMP = 1560163143
SHA256 (postgresql/psqlodbc-11.01.0000.tar.gz) = c5f1a6e472893f135a434f1276dffa5d64508f9d4fa37bb2e492fd0ad4b6042c
SIZE (postgresql/psqlodbc-11.01.0000.tar.gz) = 919372
TIMESTAMP = 1572013339
SHA256 (postgresql/psqlodbc-12.00.0000.tar.gz) = cf4a763737892e85f403ba581ba0d369666b9641c15e35b345552720e8ce24eb
SIZE (postgresql/psqlodbc-12.00.0000.tar.gz) = 920713
3 changes: 1 addition & 2 deletions databases/postgresql-repmgr/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@
# $FreeBSD$

PORTNAME= postgresql-repmgr
PORTVERSION= 4.4.0
PORTREVISION= 1
PORTVERSION= 5.0.0
CATEGORIES= databases
MASTER_SITES= http://www.repmgr.org/download/
DISTNAME= repmgr-${PORTVERSION}
Expand Down
6 changes: 3 additions & 3 deletions databases/postgresql-repmgr/distinfo
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
TIMESTAMP = 1561629967
SHA256 (repmgr-4.4.0.tar.gz) = bd1cf83f0790dbb133b653d123b4c7cba33fbed2be343c95163f84d1ec5c6a11
SIZE (repmgr-4.4.0.tar.gz) = 416148
TIMESTAMP = 1572013405
SHA256 (repmgr-5.0.0.tar.gz) = cf7a6654abe72a639f7222c3082cc8a15a7f7a6ec95e1b7b381fc93a14d7fcc6
SIZE (repmgr-5.0.0.tar.gz) = 428673
2 changes: 2 additions & 0 deletions databases/postgresql-repmgr/pkg-plist
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ share/postgresql/extension/repmgr--4.2.sql
share/postgresql/extension/repmgr--4.3.sql
share/postgresql/extension/repmgr--4.3--4.4.sql
share/postgresql/extension/repmgr--4.4.sql
share/postgresql/extension/repmgr--4.4--5.0.sql
share/postgresql/extension/repmgr--5.0.sql
share/postgresql/extension/repmgr--unpackaged--4.0.sql
share/postgresql/extension/repmgr.control
@sample etc/repmgr.conf.sample
1 change: 1 addition & 0 deletions devel/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -213,6 +213,7 @@
SUBDIR += bashdb
SUBDIR += bats-core
SUBDIR += bazel
SUBDIR += bazel029
SUBDIR += bazel-buildtools
SUBDIR += bbfreeze
SUBDIR += bbfreeze-loader
Expand Down
2 changes: 1 addition & 1 deletion devel/R-cran-hms/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# $FreeBSD$

PORTNAME= hms
PORTVERSION= 0.5.1
PORTVERSION= 0.5.2
CATEGORIES= devel
DISTNAME= ${PORTNAME}_${PORTVERSION}

Expand Down
6 changes: 3 additions & 3 deletions devel/R-cran-hms/distinfo
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
TIMESTAMP = 1567917093
SHA256 (hms_0.5.1.tar.gz) = 6d336efef276ada8a565cd72dc5dd89274be0426cb288a1f51b4a0bbafeb8cec
SIZE (hms_0.5.1.tar.gz) = 136031
TIMESTAMP = 1572541712
SHA256 (hms_0.5.2.tar.gz) = d445c98c36b224e73c76dd4fc2a700e0b1abf0ade3d8ac8ac96c12fb946e4440
SIZE (hms_0.5.2.tar.gz) = 136186
88 changes: 88 additions & 0 deletions devel/bazel029/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,88 @@
# Created by: Klaus Aehlig <[email protected]>
# $FreeBSD$

PORTNAME= bazel
DISTVERSION= 0.29.0
CATEGORIES= devel java
MASTER_SITES= https://storage.googleapis.com/bazel/${PORTVERSION}/rc${FINALRC}/
DISTNAME= bazel-${PORTVERSION}rc${FINALRC}-dist
PKGNAMESUFFIX= 029

MAINTAINER= [email protected]
COMMENT= Fast and correct build system

LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE

BROKEN_aarch64= fails to build: java.lang.OutOfMemoryError: Java heap space
BROKEN_armv6= fails to package: cp: bazel: No such file or directory
BROKEN_armv7= fails to package: cp: bazel: No such file or directory
BROKEN_powerpc64= fails to compile: Action failed to execute: java.io.IOException: Cannot run program /usr/bin/clang

BUILD_DEPENDS= bash:shells/bash \
zip:archivers/zip

USES= python:3.3+ shebangfix zip:infozip

# In bazel, a release is always code-wise identical to the final release candidate.
# Hence we can also download that one and so have a simple way to also test earlier release
# candidates.
FINALRC= 8

SHEBANG_REGEX= .*(sh|txt|_stub|stub_.*|bazel|get_workspace_status|protobuf_support|_so)
USE_JAVA= yes
JAVA_VENDOR= openjdk
JAVA_VERSION= 1.8
JAVA_BUILD= yes
JAVA_RUN= yes

NO_WRKSUBDIR= YES

# The bazel binary is also a zip archive (extracted by the elf part), it must not be stripped
STRIP=

.include <bsd.port.pre.mk>

.if ${ARCH} == "i386"
EXTRA_PATCHES+= ${FILESDIR}/extra-i386_tools_cpp_BUILD.static.freebsd
.endif

# Have the location of the system-wide rc file reside ${ETCDIR}.
# Also adapt the sample file to disable persistent java workers as they
# do not work reliably on FreeBSD.
post-patch:
@${REINPLACE_CMD} \
-e "s|/etc/bazel.bazelrc|${ETCDIR}/bazel.bazelrc|" \
${WRKSRC}/src/main/cpp/blaze_util_posix.cc \
${WRKSRC}/src/main/cpp/BUILD
@${ECHO_CMD} build --strategy=Javac=standalone >> ${WRKSRC}/scripts/packages/bazel.bazelrc
@${ECHO_CMD} build --host_javabase=@local_jdk//:jdk >> ${WRKSRC}/scripts/packages/bazel.bazelrc
@${ECHO_CMD} build --action_env=PATH=/bin:/usr/bin/:${LOCALBASE}/bin >> ${WRKSRC}/scripts/packages/bazel.bazelrc
@${REINPLACE_CMD} \
-e 's|^\(PYTHON_BIN=.*\)|if [ "%VERSION%" = "3" ] ; then PYTHON_BIN=${PYTHON_CMD}; else \1 ; fi|' \
${WRKSRC}/tools/python/pywrapper_template.txt
@${REINPLACE_CMD} \
-e 's|/usr/bin/env python|${PYTHON_CMD}|' \
${WRKSRC}/src/main/java/com/google/devtools/build/lib/bazel/rules/python/BazelPythonSemantics.java

do-build:
@${MKDIR} ${WRKDIR}/bazel_tmp
(if [ -z "$${SOURCE_DATE_EPOCH}" ] ; \
then SOURCE_DATE_EPOCH=`grep TIMESTAMP ${DISTINFO_FILE} \
| ${SED} -e 's/[^0-9]//g'`; \
fi ; \
cd ${WRKSRC} && \
${SETENV} BAZEL_SH=${LOCALBASE}/bin/bash \
TMPDIR=${WRKDIR}/bazel_tmp \
EMBED_LABEL='${PORTVERSION}' \
PATH=${LOCALBASE}/bin:$$PATH \
SOURCE_DATE_EPOCH=$${SOURCE_DATE_EPOCH} \
EXTRA_BAZEL_ARGS=--host_javabase=@local_jdk//:jdk \
${LOCALBASE}/bin/bash ./compile.sh)

do-install:
${INSTALL_PROGRAM} ${WRKSRC}/output/bazel ${STAGEDIR}${PREFIX}/bin
@${MKDIR} ${STAGEDIR}${ETCDIR}
${INSTALL_DATA} ${WRKSRC}/scripts/packages/bazel.bazelrc ${STAGEDIR}${ETCDIR}/bazel.bazelrc.sample

.include <bsd.port.post.mk>
3 changes: 3 additions & 0 deletions devel/bazel029/distinfo
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
TIMESTAMP = 1566883509
SHA256 (bazel-0.29.0rc8-dist.zip) = d812e6fb46540b42fa8546c381f44728d3a27fcd8029faec05a7f8d14cfc7aa1
SIZE (bazel-0.29.0rc8-dist.zip) = 265744572
16 changes: 16 additions & 0 deletions devel/bazel029/files/extra-i386_tools_cpp_BUILD.static.freebsd
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
--- tools/cpp/BUILD.static.freebsd.orig 2019-07-10 15:47:44.533177000 +0000
+++ tools/cpp/BUILD.static.freebsd 2019-07-10 15:48:07.637126000 +0000
@@ -62,11 +62,11 @@
toolchain(
name = "cc-toolchain-freebsd",
exec_compatible_with = [
- "@platforms//cpu:x86_64",
+ "@platforms//cpu:x86_32",
"@platforms//os:freebsd",
],
target_compatible_with = [
- "@platforms//cpu:x86_64",
+ "@platforms//cpu:x86_32",
"@platforms//os:freebsd",
],
toolchain = ":cc-compiler-freebsd",
11 changes: 11 additions & 0 deletions devel/bazel029/files/patch-scripts_bootstrap_bootstrap.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
--- scripts/bootstrap/bootstrap.sh.orig 2019-08-06 08:04:56.534744000 +0000
+++ scripts/bootstrap/bootstrap.sh 2019-08-06 08:05:20.598434000 +0000
@@ -35,7 +35,7 @@
--host_java_toolchain=//src/java_tools/buildjar:bootstrap_toolchain \
--spawn_strategy=standalone \
--nojava_header_compilation \
- --strategy=Javac=worker --worker_quit_after_build --ignore_unsupported_sandboxing \
+ --strategy=Javac=standalone --ignore_unsupported_sandboxing --curses=no \
--compilation_mode=opt \
--distdir=derived/distdir \
${EXTRA_BAZEL_ARGS:-}"
11 changes: 11 additions & 0 deletions devel/bazel029/files/patch-scripts_bootstrap_buildenv.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
--- scripts/bootstrap/buildenv.sh.orig 1979-12-31 23:00:00 UTC
+++ scripts/bootstrap/buildenv.sh
@@ -215,7 +215,7 @@ function clear_log() {
rm -f ${phasefile}
}

-LEAVES="\xF0\x9F\x8D\x83"
+LEAVES="[LEAVES]"
INFO="\033[32mINFO\033[0m:"
WARNING="\033[31mWARN\033[0m:"

Loading

0 comments on commit 8b5dcb3

Please sign in to comment.