diff options
author | Koop Mast <kwm@FreeBSD.org> | 2012-08-04 22:52:02 +0000 |
---|---|---|
committer | Koop Mast <kwm@FreeBSD.org> | 2012-08-04 22:52:02 +0000 |
commit | 5aa7246575084f0aefcffe71d7305d0b36b2ed33 (patch) | |
tree | a3b9f3e6c4e41379a4ad771026302ecf0ad0ae1b /games/cake | |
parent | 2d4609c1309d60a953f0d9a6be96d373ca6ccfc6 (diff) | |
download | ports-5aa7246575084f0aefcffe71d7305d0b36b2ed33.tar.gz ports-5aa7246575084f0aefcffe71d7305d0b36b2ed33.zip |
Switch from libglut to freeglut and retire libglut. Libglut hasn't been
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.
Notes
Notes:
svn path=/head/; revision=302037
Diffstat (limited to 'games/cake')
-rw-r--r-- | games/cake/Makefile | 13 |
1 files changed, 3 insertions, 10 deletions
diff --git a/games/cake/Makefile b/games/cake/Makefile index 841a396dbb9c..3e8df7182280 100644 --- a/games/cake/Makefile +++ b/games/cake/Makefile @@ -7,7 +7,7 @@ PORTNAME= cake PORTVERSION= 2005.12.26 -PORTREVISION= 5 +PORTREVISION= 6 CATEGORIES= games MASTER_SITES= http://www.calodox.scene.org/morbac/cake/download/ \ ${MASTER_SITE_LOCAL} http://freebsd.nsu.ru/distfiles/ @@ -29,15 +29,8 @@ WRKSRC= ${WRKDIR}/cake_src PLIST_FILES= bin/cake -OPTIONS= FREEGLUT "Build with alternative GLUT library, FreeGLUT" off - -.include <bsd.port.pre.mk> - -.if defined(WITH_FREEGLUT) -LIB_DEPENDS= glut.12:${PORTSDIR}/graphics/freeglut -.else +USE_XORG= x11 xext xmu xt xi sm ice USE_GL= glut -.endif LIB_DEPENDS+= jpeg.11:${PORTSDIR}/graphics/jpeg post-patch: .SILENT @@ -60,4 +53,4 @@ post-install: @${CAT} ${PKGMESSAGE} @${ECHO_MSG} -.include <bsd.port.post.mk> +.include <bsd.port.mk> |