Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 26 Jan 2003 07:01:25 +0900
From:      KATO Tsuguru <tkato@prontomail.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/47486: Update port: lang/onyx
Message-ID:  <20030126070125.2a638551.tkato@prontomail.com>

next in thread | raw e-mail | index | archive | help

>Number:         47486
>Category:       ports
>Synopsis:       Update port: lang/onyx
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jan 25 14:10:11 PST 2003
>Closed-Date:
>Last-Modified:
>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:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030126070125.2a638551.tkato>