diff options
author | Maxim Sobolev <sobomax@FreeBSD.org> | 2003-09-25 17:59:32 +0000 |
---|---|---|
committer | Maxim Sobolev <sobomax@FreeBSD.org> | 2003-09-25 17:59:32 +0000 |
commit | d5dbeb0a25298a3fd7c4846c9e135799f80e2d18 (patch) | |
tree | 79b16dce16b7e645f69f5426e7cceca99e4b7e7f /net/ser | |
parent | Remove -Werror to fix build on Alpha. (diff) |
Fix on FreeBSD-alpha and other arches for which ser doesn't provide
fast locking assembly code.
Notes
Notes:
svn path=/head/; revision=89370
Diffstat (limited to 'net/ser')
-rw-r--r-- | net/ser/files/patch-Makefile.defs | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/net/ser/files/patch-Makefile.defs b/net/ser/files/patch-Makefile.defs index 32486fd5f541..16ba44a8cf37 100644 --- a/net/ser/files/patch-Makefile.defs +++ b/net/ser/files/patch-Makefile.defs @@ -2,7 +2,7 @@ $FreeBSD$ --- Makefile.defs.orig Mon Sep 1 20:47:57 2003 -+++ Makefile.defs Wed Sep 10 19:39:20 2003 ++++ Makefile.defs Thu Sep 25 10:57:58 2003 @@ -114,10 +114,11 @@ INSTALL-TOUCH = touch # used to create the file first (good to # make solaris install work) @@ -80,3 +80,16 @@ $FreeBSD$ -Wall \ #if gcc 3.0 ifeq ($(CC_SHORTVER), 3.0) +@@ -638,9 +639,11 @@ + ifneq ($(found_lock_method), yes) + DEFS+= -DUSE_PTHREAD_MUTEX # try pthread sems + found_lock_method=yes ++ LIBS= -pthread -lfl #dlopen is in libc ++ else ++ LIBS= -lfl #dlopen is in libc + endif + YACC=yacc +- LIBS= -lfl #dlopen is in libc + endif + + ifeq ($(OS), openbsd) |