freebsd-ports/graphics/Coin/Makefile
Mark Linimon a8693b8dee Force numerous ports that fail to build with clang over to instead always
rely on gcc.  The patch uses the new USE_GCC=any code in Mk/bsd.gcc.mk to
accomplish this.

The ports chosen were ports that blocked 2 or more ports from building with
clang.  (There are several hundred other ports that still fail to build with
clang, even with this patch.  This is merely one step along the way.)

Those interested in fixing these ports with clang, and have clang as their
default compiler, can simply set FORCE_BASE_CC_FOR_TESTING=yes.

For those who have gcc as their default compiler, this change is believed
to cause no change.

Hat:		portmgr
Tested with:	multiple runs on amd64-8-exp-bcm and 9-exp-clang, with various
		combinations of patch/no-patch and flag settings.
2012-10-09 22:12:13 +00:00

37 lines
893 B
Makefile

# New ports collection makefile for: Coin
# Date created: 10 May 2002
# Whom: roland.jesse@gmx.net
#
# $FreeBSD$
#
PORTNAME= Coin
PORTVERSION= 3.1.3
PORTREVISION= 3
CATEGORIES= graphics
MASTER_SITES= http://ftp.coin3d.org/coin/src/all/ \
ftp://ftp.coin3d.org/pub/coin/src/all/
MAINTAINER= cristianorolim@hotmail.com
COMMENT= C++ 3D graphics library based on the Open Inventor 2.1 API
LIB_DEPENDS= simage.27:${PORTSDIR}/graphics/simage
USE_GCC= any
USE_OPENAL= al
USE_GL= yes
USE_XORG= xt x11
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-pthread=yes --enable-threadsafe \
--enable-3ds-import --enable-sound \
--enable-javascript-api
USE_LDCONFIG= yes
MAKE_ENV= LANG=C
MAN1= coin-config.1
post-patch:
@${REINPLACE_CMD} -e 's|DATA install-data-local|DATA|g' ${WRKSRC}/Makefile.in
@${REINPLACE_CMD} -e 's|-pthread|${PTHREAD_LIBS}|g' ${WRKSRC}/configure
.include <bsd.port.mk>