=================================================================== RCS file: /cvs/ports/games/torcs/Makefile,v retrieving revision 1.7 retrieving revision 1.8 diff -u -r1.7 -r1.8 --- ports/games/torcs/Makefile 2010/12/04 18:14:37 1.7 +++ ports/games/torcs/Makefile 2012/02/02 17:25:07 1.8 @@ -1,11 +1,9 @@ -# $OpenBSD: Makefile,v 1.7 2010/12/04 18:14:37 yason Exp $ +# $OpenBSD: Makefile,v 1.8 2012/02/02 17:25:07 yason Exp $ COMMENT = The Open Racing Car Simulator -DISTNAME = torcs-1.3.1 +DISTNAME = torcs-1.3.2 -#SHARED_LIBS = ??? - CATEGORIES = games x11 HOMEPAGE = http://torcs.sourceforge.net/ @@ -18,24 +16,26 @@ PERMIT_DISTFILES_CDROM =Yes PERMIT_DISTFILES_FTP = Yes -WANTLIB = GL GLU ICE SM X11 Xext Xi Xmu Xrandr Xrender Xt Xxf86vm \ - alut c glut m openal png pthread stdc++ z +WANTLIB += GL GLU ICE SM X11 Xext Xi Xmu Xrandr Xrender Xt Xxf86vm +WANTLIB += alut c glut m ogg openal png pthread stdc++ vorbis +WANTLIB += vorbisfile z MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=torcs/} EXTRACT_SUFX = .tar.bz2 BUILD_DEPENDS = devel/plib LIB_DEPENDS = audio/freealut \ - graphics/freeglut \ + audio/libvorbis \ audio/openal \ + graphics/freeglut \ graphics/png USE_GMAKE = Yes USE_LIBTOOL = Yes CONFIGURE_STYLE = gnu -CONFIGURE_ARGS += ${CONFIGURE_SHARED} -CONFIGURE_ENV = CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include" \ - LDFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/lib -pthread" +CONFIGURE_ARGS += ${CONFIGURE_SHARED} +CONFIGURE_ENV += CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include" \ + LDFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/lib -pthread -lm -logg -lvorbis" NO_REGRESS = Yes