diff options
author | Gluzskiy Alexandr <sss123next@list.ru> | 2015-09-10 01:51:38 +0300 |
---|---|---|
committer | Gluzskiy Alexandr <sss123next@list.ru> | 2015-09-10 01:51:38 +0300 |
commit | c9f1f993c0808587aa39b21cc5f9db81031d4aba (patch) | |
tree | 76b11f6ddb82af7c9a156ccbe0c6852bdb8fc978 | |
parent | 4464d1c63000ee40ec2e7635fb82d17b1a970c28 (diff) |
dcadec: ebuild fixes
-rw-r--r-- | media-libs/dcadec/dcadec-scm.ebuild | 4 | ||||
-rw-r--r-- | media-libs/dcadec/files/makefile.patch | 15 |
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 |