diff options
author | marino <marino@FreeBSD.org> | 2015-03-26 07:00:50 +0800 |
---|---|---|
committer | marino <marino@FreeBSD.org> | 2015-03-26 07:00:50 +0800 |
commit | 0c8bec8d1565cd01e8fc1017de057d1986719d12 (patch) | |
tree | 2f9cd8c0a819b520aa1b353994707173199cca50 /games/quake3 | |
parent | 5db5908d4795f6a79fd122fbe80953bd1e2104c2 (diff) | |
download | freebsd-ports-gnome-0c8bec8d1565cd01e8fc1017de057d1986719d12.tar.gz freebsd-ports-gnome-0c8bec8d1565cd01e8fc1017de057d1986719d12.tar.zst freebsd-ports-gnome-0c8bec8d1565cd01e8fc1017de057d1986719d12.zip |
games category: Remove $PTHREAD_LIBS
approved by: PTHREAD blanket
Diffstat (limited to 'games/quake3')
-rw-r--r-- | games/quake3/Makefile | 3 | ||||
-rw-r--r-- | games/quake3/files/patch-code-unix-Makefile | 2 |
2 files changed, 2 insertions, 3 deletions
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 |