diff options
Diffstat (limited to 'media-libs/libogg')
-rw-r--r-- | media-libs/libogg/files/libogg-1.3.4-libdir-m4.patch | 13 | ||||
-rw-r--r-- | media-libs/libogg/libogg-1.3.4-r1.ebuild (renamed from media-libs/libogg/libogg-1.3.4.ebuild) | 5 |
2 files changed, 18 insertions, 0 deletions
diff --git a/media-libs/libogg/files/libogg-1.3.4-libdir-m4.patch b/media-libs/libogg/files/libogg-1.3.4-libdir-m4.patch new file mode 100644 index 000000000000..144557b3add7 --- /dev/null +++ b/media-libs/libogg/files/libogg-1.3.4-libdir-m4.patch @@ -0,0 +1,13 @@ +diff --git a/ogg.m4 b/ogg.m4 +index 17235da..22956ef 100644 +--- a/ogg.m4 ++++ b/ogg.m4 +@@ -21,7 +21,7 @@ AC_ARG_ENABLE(oggtest,AC_HELP_STRING([--disable-oggtest],[Do not try to compile + elif test "x$ogg_prefix" != "x" ; then + OGG_LIBS="-L$ogg_prefix/lib" + elif test "x$prefix" != "xNONE" ; then +- OGG_LIBS="-L$prefix/lib" ++ OGG_LIBS="-L${libdir}" + fi + + if test "x$ogg_prefix" != "xno" ; then diff --git a/media-libs/libogg/libogg-1.3.4.ebuild b/media-libs/libogg/libogg-1.3.4-r1.ebuild index 2ad33bdb4457..ff4eab24e624 100644 --- a/media-libs/libogg/libogg-1.3.4.ebuild +++ b/media-libs/libogg/libogg-1.3.4-r1.ebuild @@ -2,6 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 EAPI=7 + inherit multilib-minimal DESCRIPTION="the Ogg media file format library" @@ -15,6 +16,10 @@ IUSE="static-libs" DOCS=( AUTHORS CHANGES ) +PATCHES=( + "${FILESDIR}"/${PN}-1.3.4-libdir-m4.patch +) + MULTILIB_WRAPPED_HEADERS=( /usr/include/ogg/config_types.h ) |