freebsd-ports/multimedia/libfame/Makefile
Dmitry Marakasov cd537e2618 - Fix library w/clang on i386
Broken .so was produced, undefined reference to _mmx_one.
This fixes multimedia/recmpeg on i386.

Approved by:	portmgr blanket
MFH:		2014Q4
2014-12-01 00:08:18 +00:00

28 lines
548 B
Makefile

# Created by: ijliao
# $FreeBSD$
PORTNAME= libfame
PORTVERSION= 0.9.1
PORTREVISION= 5
CATEGORIES= multimedia
MASTER_SITES= SF/fame/${PORTNAME}/${PORTVERSION}
MAINTAINER= multimedia@FreeBSD.org
COMMENT= Video encoding library
GNU_CONFIGURE= yes
INSTALL_TARGET= install-strip
USES= libtool
USE_LDCONFIG= yes
OPTIONS_DEFINE= MMX
OPTIONS_DEFAULT=MMX
MMX_CONFIGURE_ENABLE= mmx
post-patch:
@${REINPLACE_CMD} \
-e 's|AC_DEFUN(AM_PATH_LIBFAME|AC_DEFUN([AM_PATH_LIBFAME]|g' \
${WRKSRC}/libfame.m4 ${WRKSRC}/libfame.m4.in
.include <bsd.port.mk>