summaryrefslogtreecommitdiff
path: root/media-libs/dcadec
diff options
context:
space:
mode:
authorGluzskiy Alexandr <sss123next@list.ru>2015-09-10 01:51:38 +0300
committerGluzskiy Alexandr <sss123next@list.ru>2015-09-10 01:51:38 +0300
commitc9f1f993c0808587aa39b21cc5f9db81031d4aba (patch)
tree76b11f6ddb82af7c9a156ccbe0c6852bdb8fc978 /media-libs/dcadec
parent4464d1c63000ee40ec2e7635fb82d17b1a970c28 (diff)
dcadec: ebuild fixes
Diffstat (limited to 'media-libs/dcadec')
-rw-r--r--media-libs/dcadec/dcadec-scm.ebuild4
-rw-r--r--media-libs/dcadec/files/makefile.patch15
2 files changed, 19 insertions, 0 deletions
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