From tkato@prontomail.com  Sat Jan 25 14:02:12 2003
Return-Path: <tkato@prontomail.com>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 90E2337B401
	for <FreeBSD-gnats-submit@freebsd.org>; Sat, 25 Jan 2003 14:02:12 -0800 (PST)
Received: from socigeog.hmt.toyama-u.ac.jp (socigeog.hmt.toyama-u.ac.jp [160.26.63.48])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 88DFC43F3F
	for <FreeBSD-gnats-submit@freebsd.org>; Sat, 25 Jan 2003 14:02:09 -0800 (PST)
	(envelope-from tkato@prontomail.com)
Received: from localhost (localhost [127.0.0.1])
	by socigeog.hmt.toyama-u.ac.jp (Postfix) with SMTP id 3B0958E0
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 26 Jan 2003 07:02:06 +0900 (JST)
Message-Id: <20030126070125.2a638551.tkato@prontomail.com>
Date: Sun, 26 Jan 2003 07:01:25 +0900
From: KATO Tsuguru <tkato@prontomail.com>
To: FreeBSD-gnats-submit@freebsd.org
Subject: Update port: lang/onyx

>Number:         47486
>Category:       ports
>Synopsis:       Update port: lang/onyx
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jan 25 14:10:11 PST 2003
>Closed-Date:    Fri Jan 31 05:05:13 PST 2003
>Last-Modified:  Fri Jan 31 05:05:13 PST 2003
>Originator:     KATO Tsuguru
>Release:        FreeBSD 4.7-RELEASE-p3 i386
>Organization:
>Environment:
>Description:
- Fix LIB_DEPENDS

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/lang/onyx/Makefile lang/onyx/Makefile
--- /usr/ports/lang/onyx/Makefile	Fri Jan 17 19:40:41 2003
+++ lang/onyx/Makefile	Fri Jan 24 00:46:58 2003
@@ -7,22 +7,30 @@
 
 PORTNAME=	onyx
 PORTVERSION=	4.2.1
+PORTREVISION=	1
 CATEGORIES=	lang
 MASTER_SITES=	http://www.canonware.com/download/onyx/
 
 MAINTAINER=	ports@FreeBSD.org
 
 BUILD_DEPENDS=	cook:${PORTSDIR}/devel/cook
-LIB_DEPENDS=	edit.5:${PORTSDIR}/devel/libedit
+LIB_DEPENDS=	edit.5:${PORTSDIR}/devel/libedit \
+		pcre.0:${PORTSDIR}/devel/pcre
 
+USE_REINPLACE=	yes
 GNU_CONFIGURE=	yes
 CONFIGURE_TARGET=	--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
-CONFIGURE_ARGS=	--with-libedit-prefix=${LOCALBASE}
+CONFIGURE_ARGS=	--with-libedit-prefix=${LOCALBASE} \
+		--with-pcre-prefix=${LOCALBASE} \
+		--disable-slate
 INSTALLS_SHLIB=	yes
 
 MAN1=		onyx.1 onyx_config.1
 
 PLIST_SUB=	ONYX_VERSION=${PORTVERSION}
+
+post-patch:
+	@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/configure
 
 do-build:
 	@(cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} cook)
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: obraun 
State-Changed-When: Fri Jan 31 04:59:58 PST 2003 
State-Changed-Why:  
Committed, thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=47486 
>Unformatted:
