From c9f1f993c0808587aa39b21cc5f9db81031d4aba Mon Sep 17 00:00:00 2001 From: Gluzskiy Alexandr Date: Thu, 10 Sep 2015 01:51:38 +0300 Subject: dcadec: ebuild fixes --- media-libs/dcadec/dcadec-scm.ebuild | 4 ++++ media-libs/dcadec/files/makefile.patch | 15 +++++++++++++++ 2 files changed, 19 insertions(+) create mode 100644 media-libs/dcadec/files/makefile.patch diff --git a/media-libs/dcadec/dcadec-scm.ebuild b/media-libs/dcadec/dcadec-scm.ebuild index 0774c6f..a9871f6 100644 --- a/media-libs/dcadec/dcadec-scm.ebuild +++ b/media-libs/dcadec/dcadec-scm.ebuild @@ -17,6 +17,10 @@ src_unpack() { git-r3_src_unpack } +src_prepare() { + epatch "${FILESDIR}/makefile.patch" +} + src_compile() { cd "${S}" emake diff --git a/media-libs/dcadec/files/makefile.patch b/media-libs/dcadec/files/makefile.patch new file mode 100644 index 0000000..4d2ade0 --- /dev/null +++ b/media-libs/dcadec/files/makefile.patch @@ -0,0 +1,15 @@ +diff --git a/Makefile b/Makefile +index a1ffc53..e1b784b 100644 +--- a/Makefile ++++ b/Makefile +@@ -1,8 +1,8 @@ + VERSION = 0.0.0 + +-CFLAGS := -std=gnu99 -D_FILE_OFFSET_BITS=64 -Wall -Wextra -O3 -ffast-math -g -MMD $(CFLAGS) ++CFLAGS := -std=gnu99 + +-PREFIX ?= /usr/local ++PREFIX ?= /usr + BINDIR ?= $(PREFIX)/bin + LIBDIR ?= $(PREFIX)/lib + INCLUDEDIR ?= $(PREFIX)/include -- cgit v1.2.3