aboutsummaryrefslogtreecommitdiff
path: root/games/glasteroids
diff options
context:
space:
mode:
authorKevin Lo <kevlo@FreeBSD.org>2001-06-15 12:55:20 +0000
committerKevin Lo <kevlo@FreeBSD.org>2001-06-15 12:55:20 +0000
commit5e2fb67a1b132a55cca021c814a922a388f82031 (patch)
tree30beecfc99158ec971a2064575bb816be1851c5f /games/glasteroids
parente8ae4fa3fcae95959a38600c24960c862916f485 (diff)
downloadports-5e2fb67a1b132a55cca021c814a922a388f82031.tar.gz
ports-5e2fb67a1b132a55cca021c814a922a388f82031.zip
Notes
Diffstat (limited to 'games/glasteroids')
-rw-r--r--games/glasteroids/Makefile1
-rw-r--r--games/glasteroids/files/Makefile.FreeBSD4
-rw-r--r--games/glasteroids/pkg-plist4
3 files changed, 5 insertions, 4 deletions
diff --git a/games/glasteroids/Makefile b/games/glasteroids/Makefile
index 7cca6c77e7d4..d4bb63e662da 100644
--- a/games/glasteroids/Makefile
+++ b/games/glasteroids/Makefile
@@ -18,6 +18,7 @@ MAKEFILE= Makefile.FreeBSD
WRKSRC= ${WRKDIR}/Glasteroids
USE_X_PREFIX= yes
+MAKE_ENV= PTHREAD_LIBS="${PTHREAD_LIBS}"
USE_MESA= yes
pre-build:
diff --git a/games/glasteroids/files/Makefile.FreeBSD b/games/glasteroids/files/Makefile.FreeBSD
index 6c3eaaa324dc..70e14ad68c6c 100644
--- a/games/glasteroids/files/Makefile.FreeBSD
+++ b/games/glasteroids/files/Makefile.FreeBSD
@@ -5,10 +5,10 @@ OBJS = Glasteroids.o Bobcat.o MarchingCubes.o BCship.o BCobject.o\
BCcollide.o GlutFunctions.o BCmenu.o BCenemy.o TexFont.o \
SplashScreen.o
CXX ?= c++
-CXXFLAGS += -DGL_GLEXT_LEGACY
+CXXFLAGS += -DGL_GLEXT_LEGACY ${PTHREAD_CFLAGS}
PROG = Glasteroids
-LIBES = -lglut -lMesaGLU -lMesaGL -lXmu -lX11 -lXext -lm -lXi
+LIBES = -lglut -lMesaGLU -lMesaGL -lXmu -lX11 -lXext -lm -lXi ${PTHREAD_LIBS}
INCDIR = -I/usr/X11R6/include
LIBDIR = -L/usr/X11R6/lib
diff --git a/games/glasteroids/pkg-plist b/games/glasteroids/pkg-plist
index dfa5796acf08..5a79f4c36d7d 100644
--- a/games/glasteroids/pkg-plist
+++ b/games/glasteroids/pkg-plist
@@ -1,6 +1,6 @@
bin/glasteroids
-share/doc/glasteroids/COPYING
-share/doc/glasteroids/README
+%%PORTDOCS%%share/doc/glasteroids/COPYING
+%%PORTDOCS%%share/doc/glasteroids/README
share/glasteroids/gameText.txf
@mode 666
share/glasteroids/scores.txt