freebsd-ports/multimedia/libfame/Makefile
Pav Lucistnik aa4fbca3ff - Make the library actually usable on gcc 3.4 systems:
/usr/local/lib/libfame.so: undefined reference to `_mmx_one'

PR:		ports/74806
Submitted by:	Hendrik Scholz <hendrik@scholz.net>
Obtained from:	http://www.linuxfromscratch.org/blfs/downloads/svn/libfame-0.9.1-gcc34-1.patch
2004-12-08 19:29:09 +00:00

41 lines
872 B
Makefile

# ex:ts=8
# Ports collection makefile for: libfame
# Date created: Mar 23, 2002
# Whom: ijliao
#
# $FreeBSD$
#
PORTNAME= libfame
PORTVERSION= 0.9.1
PORTREVISION= 1
CATEGORIES= multimedia
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= fame
MAINTAINER= ports@FreeBSD.org
COMMENT= A video encoding library
USE_INC_LIBTOOL_VER=13
INSTALLS_SHLIB= yes
CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
MAN3= fame_close.3 fame_encode_frame.3 fame_get_object.3 fame_init.3 \
fame_open.3 fame_register.3 fame_unregister.3 fame_encode_slice.3 \
fame_start_frame.3 fame_end_frame.3
OPTIONS= SSE "SSE optimized routines" off \
MMX "MMX optimized routines" on
.include <bsd.port.pre.mk>
.if defined(WITH_SSE)
CONFIGURE_ARGS+= --enable-sse
.endif
.if defined(WITHOUT_MMX)
CONFIGURE_ARGS+= --disable-mmx
.endif
.include <bsd.port.post.mk>