diff options
Diffstat (limited to 'dev-embedded/lpc21isp/lpc21isp-1.97.ebuild')
| -rw-r--r-- | dev-embedded/lpc21isp/lpc21isp-1.97.ebuild | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/dev-embedded/lpc21isp/lpc21isp-1.97.ebuild b/dev-embedded/lpc21isp/lpc21isp-1.97.ebuild index 5c201608ac52..081ebfcad4fe 100644 --- a/dev-embedded/lpc21isp/lpc21isp-1.97.ebuild +++ b/dev-embedded/lpc21isp/lpc21isp-1.97.ebuild @@ -13,12 +13,16 @@ LICENSE="LGPL-3+" SLOT="0" KEYWORDS="~amd64 ~x86" -PATCHES=( - "${FILESDIR}"/${PN}-1.97-makefile-tc-vars.patch -) - S="${WORKDIR}"/${MY_P} +src_prepare() { + default + + # Upstream makefile has got DOS line endings so using patches there is fragile, + # see Bug #827018. + sed -i -e 's#^\(CC \?\)=#\1?=#' Makefile || die +} + src_install() { dobin lpc21isp } |
