Link with -lpthread to make it work again.
Reported and tested by maintainer Jeremy Evans.
This commit is contained in:
parent
5295a3b5e5
commit
72db6defae
@ -1,11 +1,11 @@
|
||||
# $OpenBSD: Makefile,v 1.14 2009/08/10 16:48:28 msf Exp $
|
||||
# $OpenBSD: Makefile,v 1.15 2009/11/09 17:45:24 bernd Exp $
|
||||
|
||||
SHARED_ONLY= Yes
|
||||
|
||||
COMMENT= Ruby interface to hyperestraier
|
||||
|
||||
DISTNAME= hyperestraier-1.4.13
|
||||
PKGNAME= ruby-hyperestraier-1.0.0p10
|
||||
PKGNAME= ruby-hyperestraier-1.0.0p11
|
||||
CATEGORIES= textproc
|
||||
|
||||
HOMEPAGE= http://hyperestraier.sourceforge.net/
|
||||
|
@ -1,4 +1,7 @@
|
||||
$OpenBSD: patch-rubynative_src_extconf_rb,v 1.2 2009/01/30 21:15:05 ajacoutot Exp $
|
||||
$OpenBSD: patch-rubynative_src_extconf_rb,v 1.3 2009/11/09 17:45:24 bernd Exp $
|
||||
|
||||
Use -lpthread to make it work.
|
||||
|
||||
--- rubynative/src/extconf.rb.orig Thu Apr 12 03:52:50 2007
|
||||
+++ rubynative/src/extconf.rb Fri Jan 30 21:57:25 2009
|
||||
@@ -3,12 +3,9 @@ require "mkmf"
|
||||
@ -12,7 +15,7 @@ $OpenBSD: patch-rubynative_src_extconf_rb,v 1.2 2009/01/30 21:15:05 ajacoutot Ex
|
||||
-$LDFLAGS = "#{$LDFLAGS} -L. -L.. -L../.. #{estldflags}"
|
||||
-$libs = "#{$libs} #{estlibs}"
|
||||
+$CFLAGS = "#{$CFLAGS} -fomit-frame-pointer -fforce-addr"
|
||||
+$LDFLAGS = "#{$LDFLAGS} -pthread"
|
||||
+$LDFLAGS = "#{$LDFLAGS} -lpthread"
|
||||
+$libs = "#{$libs}"
|
||||
|
||||
if have_header('estraier.h') and have_library('estraier')
|
||||
|
Loading…
x
Reference in New Issue
Block a user