Changeset View
Changeset View
Standalone View
Standalone View
head/Mk/bsd.gecko.mk
Show First 20 Lines • Show All 370 Lines • ▼ Show 20 Lines | @${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' \ | ||||
-e 's|mozilla/plugins|browser_plugins|g' \ | -e 's|mozilla/plugins|browser_plugins|g' \ | ||||
-e 's|share/mozilla/extensions|lib/xpi|g' \ | -e 's|share/mozilla/extensions|lib/xpi|g' \ | ||||
${MOZSRC}/xpcom/io/nsAppFileLocationProvider.cpp \ | ${MOZSRC}/xpcom/io/nsAppFileLocationProvider.cpp \ | ||||
${MOZSRC}/toolkit/xre/nsXREDirProvider.cpp | ${MOZSRC}/toolkit/xre/nsXREDirProvider.cpp | ||||
# Disable vendor checksums like lang/rust | # Disable vendor checksums like lang/rust | ||||
@${REINPLACE_CMD} 's,"files":{[^}]*},"files":{},' \ | @${REINPLACE_CMD} 's,"files":{[^}]*},"files":{},' \ | ||||
${MOZSRC}/third_party/rust/*/.cargo-checksum.json | ${MOZSRC}/third_party/rust/*/.cargo-checksum.json | ||||
pre-configure-script: | |||||
# Check that the running kernel has COMPAT_FREEBSD11 required by lang/rust post-ino64 | |||||
@${SETENV} CC="${CC}" OPSYS="${OPSYS}" OSVERSION="${OSVERSION}" WRKDIR="${WRKDIR}" \ | |||||
${SH} ${SCRIPTSDIR}/rust-compat11-canary.sh | |||||
post-install-script: gecko-create-plist | post-install-script: gecko-create-plist | ||||
gecko-create-plist: | gecko-create-plist: | ||||
# Create the plist | # Create the plist | ||||
${RM} ${PLISTF} | ${RM} ${PLISTF} | ||||
.for dir in ${MOZILLA_PLIST_DIRS} | .for dir in ${MOZILLA_PLIST_DIRS} | ||||
@cd ${STAGEDIR}${PREFIX}/${dir} && ${FIND} -H -s * ! -type d | \ | @cd ${STAGEDIR}${PREFIX}/${dir} && ${FIND} -H -s * ! -type d | \ | ||||
${SED} -e 's|^|${dir}/|' >> ${PLISTF} | ${SED} -e 's|^|${dir}/|' >> ${PLISTF} | ||||
.endfor | .endfor | ||||
${CAT} ${PLISTF} | ${SORT} >> ${TMPPLIST} | ${CAT} ${PLISTF} | ${SORT} >> ${TMPPLIST} | ||||
.endif | .endif | ||||
.endif | .endif | ||||
# HERE THERE BE TACOS -- adamw | # HERE THERE BE TACOS -- adamw |