From owner-freebsd-ports-bugs@FreeBSD.ORG Sun Feb 7 15:00:12 2010 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 96595106568B for ; Sun, 7 Feb 2010 15:00:12 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 58CCF8FC0A for ; Sun, 7 Feb 2010 15:00:12 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id o17F0BlS011357 for ; Sun, 7 Feb 2010 15:00:11 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id o17F0BRm011356; Sun, 7 Feb 2010 15:00:11 GMT (envelope-from gnats) Resent-Date: Sun, 7 Feb 2010 15:00:11 GMT Resent-Message-Id: <201002071500.o17F0BRm011356@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Yasuhiro KIMURA Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0F00E106566C for ; Sun, 7 Feb 2010 14:52:59 +0000 (UTC) (envelope-from yasu@home.utahime.org) Received: from utahime.as.wakwak.ne.jp (utahime.as.wakwak.ne.jp [61.205.238.40]) by mx1.freebsd.org (Postfix) with ESMTP id D12D18FC0C for ; Sun, 7 Feb 2010 14:52:58 +0000 (UTC) Received: from eastasia.home.utahime.org (eastasia.home.utahime.org [192.168.174.1]) by utahime.as.wakwak.ne.jp (Postfix) with ESMTP id 29A394503F; Sun, 7 Feb 2010 23:52:57 +0900 (JST) Received: from eastasia.home.utahime.org (localhost [127.0.0.1]) by localhost-backdoor.home.utahime.org (Postfix) with ESMTP id F13978A043; Sun, 7 Feb 2010 23:52:56 +0900 (JST) Received: by eastasia.home.utahime.org (Postfix, from userid 1000) id C4FB38A03E; Sun, 7 Feb 2010 23:52:56 +0900 (JST) Message-Id: <20100207145256.C4FB38A03E@eastasia.home.utahime.org> Date: Sun, 7 Feb 2010 23:52:56 +0900 (JST) From: Yasuhiro KIMURA To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/143647: [PATCH] SGML-Parser-OpenSP: fix link problem X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 07 Feb 2010 15:00:12 -0000 >Number: 143647 >Category: ports >Synopsis: [PATCH] SGML-Parser-OpenSP: fix link problem >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Feb 07 15:00:10 UTC 2010 >Closed-Date: >Last-Modified: >Originator: Yasuhiro KIMURA >Release: FreeBSD 8.0-RELEASE-p2 i386 >Organization: >Environment: System: FreeBSD xxxx 8.0-RELEASE-p2 FreeBSD 8.0-RELEASE-p2 #0: Sat Jan 16 06:19:59 JST 2010 xxxx i386 >Description: - Fix problem that OpenSP.so is not linked with libosp.so - Add missing dependency upon p5-Test-Exception. >How-To-Repeat: >Fix: --- patch-p5-SGML-Parser-OpenSP begins here --- Index: Makefile =================================================================== RCS file: /usr0/freebsd/cvsroot/ports/textproc/p5-SGML-Parser-OpenSP/Makefile,v retrieving revision 1.6 diff -u -r1.6 Makefile --- Makefile 23 Jan 2010 07:28:10 -0000 1.6 +++ Makefile 7 Feb 2010 14:43:01 -0000 @@ -7,7 +7,7 @@ PORTNAME= SGML-Parser-OpenSP PORTVERSION= 0.994 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= textproc perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- @@ -16,14 +16,19 @@ COMMENT= Parse SGML documents using OpenSP BUILD_DEPENDS= onsgmls:${PORTSDIR}/textproc/opensp \ - p5-Class-Accessor>=0:${PORTSDIR}/devel/p5-Class-Accessor + p5-Class-Accessor>=0:${PORTSDIR}/devel/p5-Class-Accessor \ + p5-Test-Exception>=0:${PORTSDIR}/devel/p5-Test-Exception RUN_DEPENDS= ${BUILD_DEPENDS} USE_DOS2UNIX= yes PERL_CONFIGURE= yes CC= ${CXX} -CONFIGURE_ARGS+="INC=-I${LOCALBASE}/include -I${LOCALBASE}/lib" +CONFIGURE_ARGS+="INC=-I${LOCALBASE}/include" MAN3= SGML::Parser::OpenSP.3 SGML::Parser::OpenSP::Tools.3 +post-patch: + (cd ${WRKSRC} ; \ + ${REINPLACE_CMD} "s|%%LOCALBASE%%|${LOCALBASE}|g" Makefile.PL ) + .include Index: files/patch-Makefile.PL =================================================================== RCS file: /usr0/freebsd/cvsroot/ports/textproc/p5-SGML-Parser-OpenSP/files/patch-Makefile.PL,v retrieving revision 1.1 diff -u -r1.1 patch-Makefile.PL --- files/patch-Makefile.PL 28 Jul 2007 19:31:51 -0000 1.1 +++ files/patch-Makefile.PL 7 Feb 2010 14:34:40 -0000 @@ -1,5 +1,14 @@ ---- Makefile.PL.orig 2007-07-29 03:05:27.000000000 +0800 -+++ Makefile.PL 2007-07-29 03:06:38.000000000 +0800 +--- Makefile.PL.orig 2010-02-07 23:33:39.000000000 +0900 ++++ Makefile.PL 2010-02-07 23:34:03.000000000 +0900 +@@ -15,7 +15,7 @@ + # assume some compatible Linux + $options{LD} = "g++"; + $options{CC} = "g++"; +- $options{LIBS} = "-lstdc++ -losp"; ++ $options{LIBS} = "-L%%LOCALBASE%%/lib -lstdc++ -losp"; + } + + WriteMakefile( @@ -26,6 +26,10 @@ Test::Exception => 0, File::Temp => 0, --- patch-p5-SGML-Parser-OpenSP ends here --- >Release-Note: >Audit-Trail: >Unformatted: