diff options
author | kevlo <kevlo@FreeBSD.org> | 2001-06-15 20:55:20 +0800 |
---|---|---|
committer | kevlo <kevlo@FreeBSD.org> | 2001-06-15 20:55:20 +0800 |
commit | 5e4f2c85c7be176a4d90c94b9fe709e4640756e2 (patch) | |
tree | 625f7d8ad7fcaf9de9da1cf83d1b5228d8e68841 /games/glasteroids | |
parent | 8e2e2a2970a5d549ed999289b28c93bb27c6d860 (diff) | |
download | freebsd-ports-gnome-5e4f2c85c7be176a4d90c94b9fe709e4640756e2.tar.gz freebsd-ports-gnome-5e4f2c85c7be176a4d90c94b9fe709e4640756e2.tar.zst freebsd-ports-gnome-5e4f2c85c7be176a4d90c94b9fe709e4640756e2.zip |
- 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/Makefile | 1 | ||||
-rw-r--r-- | games/glasteroids/files/Makefile.FreeBSD | 4 | ||||
-rw-r--r-- | games/glasteroids/pkg-plist | 4 |
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 |