summaryrefslogtreecommitdiffstats
path: root/games/glasteroids
diff options
context:
space:
mode:
authorkevlo <kevlo@FreeBSD.org>2001-06-15 12:55:20 +0000
committerkevlo <kevlo@FreeBSD.org>2001-06-15 12:55:20 +0000
commit5e4f2c85c7be176a4d90c94b9fe709e4640756e2 (patch)
tree625f7d8ad7fcaf9de9da1cf83d1b5228d8e68841 /games/glasteroids
parent8e2e2a2970a5d549ed999289b28c93bb27c6d860 (diff)
downloadFreeBSD-ports-5e4f2c85c7be176a4d90c94b9fe709e4640756e2.zip
FreeBSD-ports-5e4f2c85c7be176a4d90c94b9fe709e4640756e2.tar.gz
- Fix pkg-plist to complete NOPORTDOCS support
- Add ${PTHREAD_LIBS} and ${PTHREAD_CFLAGS} to fix compile errors PR: 28072 Submitted by: Patrick Li <pat@databits.net>
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 7cca6c7..d4bb63e 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 6c3eaaa..70e14ad 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 dfa5796..5a79f4c 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
OpenPOWER on IntegriCloud