diff --git a/textproc/ruby-hyperestraier/Makefile b/textproc/ruby-hyperestraier/Makefile index fe615139fca..65df96f1d49 100644 --- a/textproc/ruby-hyperestraier/Makefile +++ b/textproc/ruby-hyperestraier/Makefile @@ -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/ diff --git a/textproc/ruby-hyperestraier/patches/patch-rubynative_src_extconf_rb b/textproc/ruby-hyperestraier/patches/patch-rubynative_src_extconf_rb index 9dfa79bde5b..4633c969937 100644 --- a/textproc/ruby-hyperestraier/patches/patch-rubynative_src_extconf_rb +++ b/textproc/ruby-hyperestraier/patches/patch-rubynative_src_extconf_rb @@ -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')