diff options
author | sobomax <sobomax@FreeBSD.org> | 2003-09-26 01:59:32 +0800 |
---|---|---|
committer | sobomax <sobomax@FreeBSD.org> | 2003-09-26 01:59:32 +0800 |
commit | 0621620962bbbbd2ef2a64ef1586297875ea97a1 (patch) | |
tree | 4a760314a7bd2685a4e3b5902a53a3f8b41d8cdb /net/ser | |
parent | 58dd8035673e460388012efe2d6991e2490fa5d3 (diff) | |
download | freebsd-ports-gnome-0621620962bbbbd2ef2a64ef1586297875ea97a1.tar.gz freebsd-ports-gnome-0621620962bbbbd2ef2a64ef1586297875ea97a1.tar.zst freebsd-ports-gnome-0621620962bbbbd2ef2a64ef1586297875ea97a1.zip |
Fix on FreeBSD-alpha and other arches for which ser doesn't provide
fast locking assembly code.
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) |