View | Details | Raw Unified | Return to bug 218976 | Differences between
and this patch

Collapse All | Expand All

(-)b/Mk/Scripts/qa.sh (-1 / +17 lines)
Lines 797-805 perlcore() { Link Here
797
	fi
797
	fi
798
}
798
}
799
799
800
no_arch() {
801
	[ -z "$NO_ARCH" ] && return 0
802
	rc=0
803
	while read f; do
804
		err "$f is a architecture specific binary file and you have NO_ARCH=$NO_ARCH set"
805
		rc=1
806
	done <<-EOF
807
	$(find ${STAGEDIR}${PREFIX} -type f \
808
		| xargs file -i \
809
		| grep -E 'application/x-(executable|object|sharedlib); charset=binary' \
810
		| cut -f 1 -d :)
811
	EOF
812
	return $rc
813
}
814
815
800
checks="shebang symlinks paths stripped desktopfileutils sharedmimeinfo"
816
checks="shebang symlinks paths stripped desktopfileutils sharedmimeinfo"
801
checks="$checks suidfiles libtool libperl prefixvar baselibs terminfo"
817
checks="$checks suidfiles libtool libperl prefixvar baselibs terminfo"
802
checks="$checks proxydeps sonames perlcore"
818
checks="$checks proxydeps sonames perlcore no_arch"
803
819
804
ret=0
820
ret=0
805
cd ${STAGEDIR}
821
cd ${STAGEDIR}
(-)b/Mk/Uses/cran.mk (+2 lines)
Lines 71-76 cran-strip: Link Here
71
	${FIND} ${STAGEDIR}${PREFIX}/${R_MOD_DIR} -name '*.so' -exec ${STRIP_CMD} {} +
71
	${FIND} ${STAGEDIR}${PREFIX}/${R_MOD_DIR} -name '*.so' -exec ${STRIP_CMD} {} +
72
.include "${PORTSDIR}/math/R/compiler.mk"
72
.include "${PORTSDIR}/math/R/compiler.mk"
73
.include "${USESDIR}/fortran.mk"
73
.include "${USESDIR}/fortran.mk"
74
.else
75
NO_ARCH=	yes
74
.endif
76
.endif
75
77
76
.endif #_INCLUDE_USES_CRAN_MK
78
.endif #_INCLUDE_USES_CRAN_MK
(-)b/Mk/bsd.port.mk (-1 / +2 lines)
Lines 1527-1533 QA_ENV+= STAGEDIR=${STAGEDIR} \ Link Here
1527
				PKGORIGIN=${PKGORIGIN} \
1527
				PKGORIGIN=${PKGORIGIN} \
1528
				LIB_RUN_DEPENDS='${_LIB_RUN_DEPENDS:C,[^:]*:([^:]*):?.*,\1,}' \
1528
				LIB_RUN_DEPENDS='${_LIB_RUN_DEPENDS:C,[^:]*:([^:]*):?.*,\1,}' \
1529
				UNIFIED_DEPENDS=${_UNIFIED_DEPENDS:C,([^:]*:[^:]*):?.*,\1,:O:u:Q} \
1529
				UNIFIED_DEPENDS=${_UNIFIED_DEPENDS:C,([^:]*:[^:]*):?.*,\1,:O:u:Q} \
1530
				PKGBASE=${PKGBASE}
1530
				PKGBASE=${PKGBASE} \
1531
				NO_ARCH=${NO_ARCH}
1531
.if !empty(USES:Mssl)
1532
.if !empty(USES:Mssl)
1532
QA_ENV+=		USESSSL=yes
1533
QA_ENV+=		USESSSL=yes
1533
.endif
1534
.endif
(-)b/math/R-cran-car/Makefile (-2 lines)
Lines 23-28 TEST_DEPENDS= R-cran-lmtest>0:finance/R-cran-lmtest \ Link Here
23
23
24
USES=		cran:auto-plist
24
USES=		cran:auto-plist
25
25
26
NO_ARCH=	yes
27
28
.include <bsd.port.mk>
26
.include <bsd.port.mk>
(-)b/textproc/R-cran-R2HTML/Makefile (-1 lines)
Lines 13-18 COMMENT= HTML exportation for R objects Link Here
13
LICENSE=	GPLv2
13
LICENSE=	GPLv2
14
14
15
USES=		cran
15
USES=		cran
16
NO_ARCH=	yes
17
16
18
.include <bsd.port.mk>
17
.include <bsd.port.mk>

Return to bug 218976