diff options
author | arved <arved@FreeBSD.org> | 2004-04-10 02:59:40 +0800 |
---|---|---|
committer | arved <arved@FreeBSD.org> | 2004-04-10 02:59:40 +0800 |
commit | d61fe6a123e51020d7c00355e5999ca40fa4415b (patch) | |
tree | 9496437527183e0bb94b8122ec6ff58d1eafd55a /multimedia/avifile/Makefile | |
parent | 3328e1611f20a6ba0afe278193dd0b82b6117a1c (diff) | |
download | freebsd-ports-gnome-d61fe6a123e51020d7c00355e5999ca40fa4415b.tar.gz freebsd-ports-gnome-d61fe6a123e51020d7c00355e5999ca40fa4415b.tar.zst freebsd-ports-gnome-d61fe6a123e51020d7c00355e5999ca40fa4415b.zip |
Fix build on AMD64
Diffstat (limited to 'multimedia/avifile/Makefile')
-rw-r--r-- | multimedia/avifile/Makefile | 23 |
1 files changed, 16 insertions, 7 deletions
diff --git a/multimedia/avifile/Makefile b/multimedia/avifile/Makefile index 5b9cc37dc268..a425458e9393 100644 --- a/multimedia/avifile/Makefile +++ b/multimedia/avifile/Makefile @@ -66,7 +66,7 @@ PLIST_SUB+= QT="@comment " .include <bsd.port.pre.mk> -.if ${ARCH} != "i386" +.if (${ARCH} != "i386") && (${ARCH} != "amd64") WITHOUT_A52=yes WITHOUT_XVID=yes BROKEN= "Does not compile on !i386" @@ -276,19 +276,28 @@ post-configure: post-install: @${FMT} < ${PKGMESSAGE} -.if ${ARCH} == "i386" +.if (${ARCH} == "i386") RUN_DEPENDS+= ${CODEC_DETECTION_FILE}:${CODEC_PORT} -CONFIGURE_ARGS+= --enable-x86opt \ - --enable-win32 \ +CONFIGURE_ARGS+= --enable-win32 \ --with-win32-path=${LOCALBASE}/lib/win32 -PLIST_SUB+= FFMPEG="" WIN32="" +PLIST_SUB+= WIN32="" .else -CONFIGURE_ARGS+= --disable-x86opt --disable-win32 \ +CONFIGURE_ARGS+= --disable-win32 + +PLIST_SUB+= WIN32="@comment " +.endif + +.if (${ARCH} == "i386") || (${ARCH} == "amd64") +CONFIGURE_ARGS+= --enable-x86opt + +PLIST_SUB+= FFMPEG="" +.else +CONFIGURE_ARGS+= --disable-x86opt \ --disable-ffmpeg -PLIST_SUB+= FFMPEG="@comment " WIN32="@comment " +PLIST_SUB+= FFMPEG="@comment " .endif # hack taken from ogle to make it work with liba52 + djbfft |