aboutsummaryrefslogtreecommitdiffstats
path: root/x11-fm
diff options
context:
space:
mode:
authorkwm <kwm@FreeBSD.org>2012-08-05 06:52:02 +0800
committerkwm <kwm@FreeBSD.org>2012-08-05 06:52:02 +0800
commit1b8e10c55262cd3b24039267af4bfdfc128a682d (patch)
treea3b9f3e6c4e41379a4ad771026302ecf0ad0ae1b /x11-fm
parent6183944f6686e95d3a07984429b879614c46dedd (diff)
downloadfreebsd-ports-gnome-1b8e10c55262cd3b24039267af4bfdfc128a682d.tar.gz
freebsd-ports-gnome-1b8e10c55262cd3b24039267af4bfdfc128a682d.tar.zst
freebsd-ports-gnome-1b8e10c55262cd3b24039267af4bfdfc128a682d.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.
Diffstat (limited to 'x11-fm')
-rw-r--r--x11-fm/tdfsb/Makefile12
1 files changed, 7 insertions, 5 deletions
diff --git a/x11-fm/tdfsb/Makefile b/x11-fm/tdfsb/Makefile
index 8ffb95af665c..23503d7a7c3f 100644
--- a/x11-fm/tdfsb/Makefile
+++ b/x11-fm/tdfsb/Makefile
@@ -7,7 +7,7 @@
PORTNAME= tdfsb
PORTVERSION= 0.0.10
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= x11-fm
MASTER_SITES= http://www.determinate.net/webdata/data/
@@ -26,10 +26,12 @@ USE_PKGCONFIG= yes
PORTDOCS= README
PLIST_FILES= bin/${PORTNAME}
-CPPFLAGS+= `${LOCALBASE}/bin/pkgconf --cflags SDL_image glut` \
- `${LOCALBASE}/bin/smpeg-config --cflags`
-LDFLAGS+= `${LOCALBASE}/bin/pkgconf --libs SDL_image glut` \
- `${LOCALBASE}/bin/smpeg-config --libs`
+CPPFLAGS+= `${LOCALBASE}/bin/pkgconf --cflags SDL_image gl` \
+ `${LOCALBASE}/bin/smpeg-config --cflags` \
+ -I ${LOCALBASE}/include
+LDFLAGS+= `${LOCALBASE}/bin/pkgconf --libs SDL_image gl` \
+ `${LOCALBASE}/bin/smpeg-config --libs` \
+ -L ${LOCALBASE}/lib -lGLU -lglut
.include <bsd.port.pre.mk>