View | Details | Raw Unified | Return to bug 223415
Collapse All | Expand All

(-)b/Mk/bsd.gecko.mk (-1 / +1 lines)
Lines 400-406 MOZ_OPTIONS+= --enable-debug --disable-release Link Here
400
STRIP=	# ports/184285
400
STRIP=	# ports/184285
401
.else
401
.else
402
MOZ_OPTIONS+=	--disable-debug --disable-debug-symbols --enable-release
402
MOZ_OPTIONS+=	--disable-debug --disable-debug-symbols --enable-release
403
. if ${MOZILLA_VER:R:R} >= 56
403
. if ${MOZILLA_VER:R:R} >= 56 && ${ARCH:Ni386}
404
MOZ_OPTIONS+=	--enable-rust-simd
404
MOZ_OPTIONS+=	--enable-rust-simd
405
. endif
405
. endif
406
.endif
406
.endif
(-)b/lang/rust/Makefile (-1 / +1 lines)
Lines 3-9 Link Here
3
3
4
PORTNAME=	rust
4
PORTNAME=	rust
5
PORTVERSION?=	1.21.0
5
PORTVERSION?=	1.21.0
6
PORTREVISION=	1
6
PORTREVISION=	2
7
CATEGORIES=	lang
7
CATEGORIES=	lang
8
MASTER_SITES=	http://static.rust-lang.org/dist/:src \
8
MASTER_SITES=	http://static.rust-lang.org/dist/:src \
9
		LOCAL/dumbbell/rust:rust_bootstrap \
9
		LOCAL/dumbbell/rust:rust_bootstrap \
(-)b/lang/rust/files/patch-src_librustc__back_target_i686__unknown__freebsd.rs (+11 lines)
Added Link Here
1
--- src/librustc_back/target/i686_unknown_freebsd.rs.orig	2017-10-09 20:04:51 UTC
2
+++ src/librustc_back/target/i686_unknown_freebsd.rs
3
@@ -13,7 +13,7 @@ use target::{Target, TargetResult};
4
 
5
 pub fn target() -> TargetResult {
6
     let mut base = super::freebsd_base::opts();
7
-    base.cpu = "pentium4".to_string();
8
+    base.cpu = "pentiumpro".to_string();
9
     base.max_atomic_width = Some(64);
10
     base.pre_link_args.get_mut(&LinkerFlavor::Gcc).unwrap().push("-m32".to_string());
11
     base.stack_probes = true;
(-)b/textproc/ripgrep/Makefile (-3 / +3 lines)
Lines 5-11 Link Here
5
5
6
PORTNAME=	ripgrep
6
PORTNAME=	ripgrep
7
PORTVERSION=	0.7.1
7
PORTVERSION=	0.7.1
8
PORTREVISION=	1
8
PORTREVISION=	2
9
CATEGORIES=	textproc
9
CATEGORIES=	textproc
10
10
11
MAINTAINER=	petteri.valkonen@iki.fi
11
MAINTAINER=	petteri.valkonen@iki.fi
Lines 75-81 RIPGREP_OUTDIR= ${WRKDIR}/cargo-out Link Here
75
CARGO_ENV=	RIPGREP_OUTDIR=${RIPGREP_OUTDIR}
75
CARGO_ENV=	RIPGREP_OUTDIR=${RIPGREP_OUTDIR}
76
76
77
OPTIONS_DEFINE=	SIMD
77
OPTIONS_DEFINE=	SIMD
78
OPTIONS_DEFAULT=SIMD
78
OPTIONS_DEFAULT=${ARCH:Ni386:C/.+/SIMD/}
79
79
80
OPTIONS_DEFINE_amd64=	AVX
80
OPTIONS_DEFINE_amd64=	AVX
81
OPTIONS_DEFINE_i386=	AVX
81
OPTIONS_DEFINE_i386=	AVX
Lines 88-94 AVX_IMPLIES= SIMD Link Here
88
# unstable features similar to how lang/rust bootstraps. www/firefox
88
# unstable features similar to how lang/rust bootstraps. www/firefox
89
# uses the same hack when building with --enable-rust-simd.
89
# uses the same hack when building with --enable-rust-simd.
90
SIMD_MAKE_ENV=	RUSTC_BOOTSTRAP=1
90
SIMD_MAKE_ENV=	RUSTC_BOOTSTRAP=1
91
SIMD_VARS=	CARGO_FEATURES+=simd-accel
91
SIMD_VARS=	CARGO_FEATURES+=simd-accel RUSTFLAGS+="-C target-feature=+sse2"
92
92
93
post-patch:
93
post-patch:
94
	@${REINPLACE_CMD} -e 's|OUT_DIR|RIPGREP_OUTDIR|' ${WRKSRC}/build.rs
94
	@${REINPLACE_CMD} -e 's|OUT_DIR|RIPGREP_OUTDIR|' ${WRKSRC}/build.rs
(-)b/www/firefox/Makefile (-1 / +1 lines)
Lines 4-10 Link Here
4
PORTNAME=	firefox
4
PORTNAME=	firefox
5
DISTVERSION=	56.0.2
5
DISTVERSION=	56.0.2
6
DISTVERSIONSUFFIX=.source
6
DISTVERSIONSUFFIX=.source
7
PORTREVISION=	6
7
PORTREVISION=	7
8
PORTEPOCH=	1
8
PORTEPOCH=	1
9
CATEGORIES=	www ipv6
9
CATEGORIES=	www ipv6
10
MASTER_SITES=	MOZILLA/${PORTNAME}/releases/${DISTVERSION}/source \
10
MASTER_SITES=	MOZILLA/${PORTNAME}/releases/${DISTVERSION}/source \

Return to bug 223415