The isoform B of the Dictyostelium long-chain fatty-acyl-coenzyme A synthetase is initially inserted into the ER and subsequently provides peroxisomes with an activity important for efficient phagocytosis.