From 7e552a992464b025db545e68b1f0f742cae06457 Mon Sep 17 00:00:00 2001 From: ajacoutot Date: Wed, 25 Mar 2009 18:09:12 +0000 Subject: [PATCH] - compile and link with -pthread, not -lpthread spotted by naddy@ who gave me lots of inputs over this maintainer is ok ok naddy@ --- www/retawq/Makefile | 4 ++-- www/retawq/patches/patch-Makefile | 12 ++++++++++++ www/retawq/patches/patch-configure | 21 +++++++++++++++++++++ 3 files changed, 35 insertions(+), 2 deletions(-) create mode 100644 www/retawq/patches/patch-Makefile create mode 100644 www/retawq/patches/patch-configure diff --git a/www/retawq/Makefile b/www/retawq/Makefile index 2a1dd1dbb05..03f77bd5649 100644 --- a/www/retawq/Makefile +++ b/www/retawq/Makefile @@ -1,9 +1,9 @@ -# $OpenBSD: Makefile,v 1.2 2008/12/08 18:04:52 pirofti Exp $ +# $OpenBSD: Makefile,v 1.3 2009/03/25 18:09:12 ajacoutot Exp $ COMMENT = interactive, multi-threaded text mode web browser DISTNAME = retawq-0.2.6c -PKGNAME = ${DISTNAME}p0 +PKGNAME = ${DISTNAME}p1 CATEGORIES = www HOMEPAGE = http://retawq.sourceforge.net diff --git a/www/retawq/patches/patch-Makefile b/www/retawq/patches/patch-Makefile new file mode 100644 index 00000000000..797959bf3e0 --- /dev/null +++ b/www/retawq/patches/patch-Makefile @@ -0,0 +1,12 @@ +$OpenBSD: patch-Makefile,v 1.1 2009/03/25 18:09:12 ajacoutot Exp $ +--- Makefile.orig Tue Mar 24 18:17:34 2009 ++++ Makefile Tue Mar 24 18:17:50 2009 +@@ -135,7 +135,7 @@ LCLM = + endif + + ifeq ($(OPTION_THREADING), 1) +-PTHREAD_LIBS = -lpthread ++PTHREAD_LIBS = -pthread + else + PTHREAD_LIBS = + endif diff --git a/www/retawq/patches/patch-configure b/www/retawq/patches/patch-configure new file mode 100644 index 00000000000..2665815c788 --- /dev/null +++ b/www/retawq/patches/patch-configure @@ -0,0 +1,21 @@ +$OpenBSD: patch-configure,v 1.1 2009/03/25 18:09:12 ajacoutot Exp $ +--- configure.orig Sun Mar 19 08:21:24 2006 ++++ configure Wed Mar 25 18:35:10 2009 +@@ -635,7 +635,7 @@ ic_binary_retawq_c_sources="$ic_binary_retawq_c_source + case "x$ic_option_threading" in + x0) ;; + *) +-ic_binary_retawq_cflags="$ic_binary_retawq_cflags -D_REENTRANT -D_THREAD_SAFE" ++ic_binary_retawq_cflags="$ic_binary_retawq_cflags -D_REENTRANT -D_THREAD_SAFE -pthread" + ;; + esac + cat >&7 <