From 5e4f2c85c7be176a4d90c94b9fe709e4640756e2 Mon Sep 17 00:00:00 2001 From: kevlo Date: Fri, 15 Jun 2001 12:55:20 +0000 Subject: - Fix pkg-plist to complete NOPORTDOCS support - Add ${PTHREAD_LIBS} and ${PTHREAD_CFLAGS} to fix compile errors PR: 28072 Submitted by: Patrick Li --- games/glasteroids/Makefile | 1 + games/glasteroids/files/Makefile.FreeBSD | 4 ++-- games/glasteroids/pkg-plist | 4 ++-- 3 files changed, 5 insertions(+), 4 deletions(-) (limited to 'games/glasteroids') 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 -- cgit v1.1