1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-25 04:43:33 +00:00
freebsd-ports/graphics/libvisual/Makefile
Martin Wilke ff211f28d0 - Fix build with gcc 4.2
- Unbreak

PR:		117258
Submitted by:	Dominic Fandrey <lon_kamikaze@gmx.de>
2007-10-17 11:11:54 +00:00

34 lines
969 B
Makefile

# New ports collection makefile for: libvisual
# Date created: 23 oktober 2004
# Whom: Koop Mast <kwm@FreeBSD.org>
#
# $FreeBSD$
#
# WARNING: when updating this port check if the ports that use libvisual
# can work with it. Backwards compatibility is known to be broken in the past.
PORTNAME= libvisual
PORTVERSION= 0.2.0
PORTREVISION= 1
CATEGORIES= graphics
MASTER_SITES= SF
MAINTAINER= ports@FreeBSD.org
COMMENT= Abstraction library that sits between apps and visual plugin
USE_XLIBS= yes
USE_GNOME= gnomehack pkgconfig
USE_AUTOTOOLS= libtool:15
CONFIGURE_ENV= CONFIGURE_ENV= CFLAGS="${CFLAGS} -mmmx -I${LOCALBASE}/include -I${X11BASE}/include ${PTHREAD_CFLAGS}" \
LIBS="-L${LOCALBASE}/lib -L${X11BASE}/lib ${PTHREAD_LIBS}"
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
USE_LDCONFIG= yes
post-patch:
@${REINPLACE_CMD} -e 's|-Wno-unused-variable||g' \
-e 's|-O3|${CFLAGS}|g' \
${WRKSRC}/libvisual/Makefile.in
.include <bsd.port.mk>