From b5c5858ecdb5c6da209c1c425474d41ee0d3f012 Mon Sep 17 00:00:00 2001 From: Matthias von Faber Date: Sun, 11 Feb 2018 12:02:24 +0100 Subject: [PATCH] moc: fix cross build --- srcpkgs/moc/template | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/srcpkgs/moc/template b/srcpkgs/moc/template index ec5904a7c00..3182e187a39 100644 --- a/srcpkgs/moc/template +++ b/srcpkgs/moc/template @@ -15,6 +15,10 @@ homepage="http://moc.daper.net" distfiles="http://ftp.daper.net/pub/soft/${pkgname}/stable/${pkgname}-${version}.tar.bz2" checksum=f3a68115602a4788b7cfa9bbe9397a9d5e24c68cb61a57695d1c2c3ecf49db08 +pre_configure() { + sed -i -e "s|^ac_cpp='\$CPP |&-P |g" configure +} + # REMARKS: # License used to be marked here as 3-clause-BSD but on bumping ffmpeg I could # not find the BSD license to vlicense.