5aa7246575
developed in years and has been dropped from the MESA 8.0 distribution. Freeglut is a rewrite of glut and is actively developed and is used by many linux distributions instead of libglut. Bump all ports that directly depend on libglut because of the shlib version change. There are some extra items in this patch. *) Because freeglut doesn't have the same dependancies as libglut, some ports need extra dependencies added to USE_XORG to make them build. *) Mark graphics/f90gl broken, f90gl depends on a header that is only shipped with libglut. *) Remove option for libglut/freeglut selection in games/cake, only freeglut remains now. *) While here fix a png related build issue games/vegastrike. Thanks to miwi for running the exp-run. Approved by: portmgr (miwi) Collaboration with: zeising@ Obtained from: xorg-dev staging area.
49 lines
1.1 KiB
Makefile
49 lines
1.1 KiB
Makefile
# Ports collection makefile for: vamos
|
|
# Date created: Mar 15, 2002
|
|
# Whom: ijliao
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= vamos
|
|
PORTVERSION= 0.7.0
|
|
PORTREVISION= 2
|
|
CATEGORIES= games
|
|
MASTER_SITES= SF
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= An automotive simulation framework
|
|
|
|
LICENSE= GPLv2
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
LIB_DEPENDS= png15:${PORTSDIR}/graphics/png
|
|
|
|
USE_OPENAL= al alut
|
|
USE_XORG= sm ice x11 xi xext xmu
|
|
USE_GL= glut
|
|
USE_SDL= sdl
|
|
USE_GMAKE= yes
|
|
USE_AUTOTOOLS= libtool
|
|
CONFIGURE_ARGS= ac_cv_header_boost_test_unit_test_hpp=no \
|
|
ac_cv_lib_freeglut_glutGetModifiers=no
|
|
USE_LDCONFIG= yes
|
|
MAKE_JOBS_SAFE= yes
|
|
|
|
INFO= vamos
|
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include ${PTHREAD_CFLAGS}
|
|
LDFLAGS+= -L${LOCALBASE}/lib ${PTHREAD_LIBS}
|
|
|
|
post-extract:
|
|
@${CHMOD} ${BINMODE} ${WRKSRC}/config/install-sh
|
|
|
|
post-patch:
|
|
@${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \
|
|
'/^AM_CXXFLAGS/s| -pedantic|| ; \
|
|
/^AM_CXXFLAGS/s| -O[[:alnum:]]|| ; \
|
|
/^AM_CXXFLAGS/s| -g|| ; \
|
|
/^AM_CXXFLAGS/s| -DBOOST_TEST_DYN_LINK|| ; \
|
|
/^AM_CXXFLAGS/s| -L/usr/lib/boost||'
|
|
|
|
.include <bsd.port.mk>
|