summaryrefslogtreecommitdiff
path: root/packages/media-libs/imlib2
diff options
context:
space:
mode:
authorAvatar Bo ├śrsted Andresen <zlin@exherbo.org> 2008-10-26 11:07:10 +0100
committerAvatar Bo ├śrsted Andresen <zlin@exherbo.org> 2008-10-26 11:16:08 +0100
commit53a53e89f42595c39da95498aa210f5eb5b126a0 (patch)
tree6175927f1de661ad196ad425b60f9c0a4cb881b5 /packages/media-libs/imlib2
parentc850e6d52e6dfa003b53635a0e6247f6beb65dce (diff)
downloadmedia-53a53e89f42595c39da95498aa210f5eb5b126a0.tar.gz
media-53a53e89f42595c39da95498aa210f5eb5b126a0.tar.xz
Stop failing. :(
Diffstat (limited to 'packages/media-libs/imlib2')
-rw-r--r--packages/media-libs/imlib2/imlib2-1.4.1.exheres-024
1 files changed, 5 insertions, 19 deletions
diff --git a/packages/media-libs/imlib2/imlib2-1.4.1.exheres-0 b/packages/media-libs/imlib2/imlib2-1.4.1.exheres-0
index db7c7e57..ab47c7fa 100644
--- a/packages/media-libs/imlib2/imlib2-1.4.1.exheres-0
+++ b/packages/media-libs/imlib2/imlib2-1.4.1.exheres-0
@@ -10,7 +10,7 @@ DOWNLOADS="mirror://sourceforge/enlightenment/${PNV}.tar.bz2"
LICENCES="Fast image library"
SLOT="0"
PLATFORMS="~amd64 ~x86"
-MYOPTIONS="platform_amd64 bzip2 gif jpeg png tiff visibility platform_x86 X zlib"
+MYOPTIONS="bzip2 gif jpeg png tiff X zlib platform: x86 x86_cpu_options: mmx"
DEPENDENCIES="
build+run:
@@ -25,21 +25,7 @@ DEPENDENCIES="
run:
X? ( x11-libs/libXext )
"
-DEFAULT_SRC_CONFIGURE_PARAMS=( "--without-id3" )
-DEFAULT_SRC_CONFIGURE_OPTION_WITHS=( bzip2 gif jpeg png tiff zlib )
-
-src_configure() {
- if option platform_amd64; then
- # --enable-amd64 segfaults
- myconf="--disable-amd64 --disable-mmx"
- elif option platform_x86; then
- myconf="--disable-amd64 --enable-mmx"
- else
- myconf="--disable-amd64 --disable-mmx"
- fi
-
- econf ${myconf} \
- $(option_with X x) \
- $(option_enable visibility visibility-hiding)
-}
-
+# --enable-amd64 segfaults
+DEFAULT_SRC_CONFIGURE_PARAMS=( --disable-amd64 --without-id3 --enable-visibility-hiding )
+DEFAULT_SRC_CONFIGURE_OPTION_WITHS=( bzip2 gif jpeg png tiff zlib "X x" )
+DEFAULT_SRC_CONFIGURE_OPTION_ENABLES=( "platform:x86 mmx" x86_cpu_options:mmx )