From 0c8bec8d1565cd01e8fc1017de057d1986719d12 Mon Sep 17 00:00:00 2001 From: marino Date: Wed, 25 Mar 2015 23:00:50 +0000 Subject: games category: Remove $PTHREAD_LIBS approved by: PTHREAD blanket --- games/quake3/Makefile | 3 +-- games/quake3/files/patch-code-unix-Makefile | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) (limited to 'games/quake3') diff --git a/games/quake3/Makefile b/games/quake3/Makefile index 39a40b3685bf..c2169387c04f 100644 --- a/games/quake3/Makefile +++ b/games/quake3/Makefile @@ -87,8 +87,7 @@ MAKE_ENV+= OPTIMIZED_CFLAGS=YES .endif .if ${PORT_OPTIONS:MTHREADS} -MAKE_ENV+= SMP=YES \ - PTHREAD_LIBS="${PTHREAD_LIBS}" +MAKE_ENV+= SMP=YES PLIST_SUB+= SMP="" Q3BIN+= quake3-smp .else diff --git a/games/quake3/files/patch-code-unix-Makefile b/games/quake3/files/patch-code-unix-Makefile index d0417f503c58..21f7925e16bd 100644 --- a/games/quake3/files/patch-code-unix-Makefile +++ b/games/quake3/files/patch-code-unix-Makefile @@ -121,7 +121,7 @@ RANLIB=ranlib -THREAD_LDFLAGS=-lpthread -+THREAD_LDFLAGS=$(PTHREAD_LIBS) ++THREAD_LDFLAGS=-lpthread # don't need -ldl (FreeBSD) -LDFLAGS=-lm +LDFLAGS+=-lm -- cgit