From owner-freebsd-ports-bugs@FreeBSD.ORG Sun Jul 11 15:10:21 2004 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B161216A4CE for ; Sun, 11 Jul 2004 15:10:21 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8E95F43D45 for ; Sun, 11 Jul 2004 15:10:21 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) i6BFALQj093501 for ; Sun, 11 Jul 2004 15:10:21 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id i6BFALW1093500; Sun, 11 Jul 2004 15:10:21 GMT (envelope-from gnats) Resent-Date: Sun, 11 Jul 2004 15:10:21 GMT Resent-Message-Id: <200407111510.i6BFALW1093500@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, HASHI Hiroaki Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AB65F16A4CE for ; Sun, 11 Jul 2004 15:01:23 +0000 (GMT) Received: from tomba.cskk-sv.co.jp (usen-221x245x15x82.ap-US01.usen.ad.jp [221.245.15.82]) by mx1.FreeBSD.org (Postfix) with ESMTP id 18EB243D1D for ; Sun, 11 Jul 2004 15:01:23 +0000 (GMT) (envelope-from hashiz@tomba.cskk-sv.co.jp) Received: from tomba.cskk-sv.co.jp (localhost.cskk-sv.co.jp [127.0.0.1]) by tomba.cskk-sv.co.jp (8.12.11/8.12.11) with ESMTP id i6BF1LjX009946 for ; Mon, 12 Jul 2004 00:01:21 +0900 (JST) (envelope-from hashiz@tomba.cskk-sv.co.jp) Received: (from hashiz@localhost) by tomba.cskk-sv.co.jp (8.12.11/8.12.11/Submit) id i6BF1Lo8009945; Mon, 12 Jul 2004 00:01:21 +0900 (JST) (envelope-from hashiz) Message-Id: <200407111501.i6BF1Lo8009945@tomba.cskk-sv.co.jp> Date: Mon, 12 Jul 2004 00:01:21 +0900 (JST) From: HASHI Hiroaki To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/68922: fix build error japanese/ruby-chasen X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Jul 2004 15:10:21 -0000 >Number: 68922 >Category: ports >Synopsis: fix build error japanese/ruby-chasen >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Jul 11 15:10:21 GMT 2004 >Closed-Date: >Last-Modified: >Originator: HASHI Hiroaki >Release: FreeBSD 5.2-CURRENT i386 >Organization: >Environment: System: FreeBSD tomba.cskk-sv.co.jp 5.2-CURRENT FreeBSD 5.2-CURRENT #0: Fri Jul 2 00:43:43 JST 2004 hashiz@tomba.cskk-sv.co.jp:/usr/obj/home/sources/src/sys/TOMBA i386 >Description: ports japanese/ruby-chasen cannot build. stop configure error. >How-To-Repeat: make build >Fix: replace files/patch-extconf.rb file to this one. --- patch-extconf.rb begins here --- --- extconf.rb.orig Thu Sep 9 21:57:36 1999 +++ extconf.rb Sun Jul 11 23:29:57 2004 @@ -1,20 +1,6 @@ require "mkmf" -require "parsearg" - -def usage() - printf "Usage:\n" - printf "%s [-L library_path]\n", $0 -end - -$USAGE = 'usage' -parseArgs(0, "L", nil, "L:.") - -unless have_library("chasen", "chasen_getopt_argv") - $objs = Dir["*.{c,cc}"] - for f in $objs - f.sub!(/\.(c|cc)$/, ".o") - end - $objs.push File.join(["#{$OPT_L}", "libchasen.a"]) -end +dir_config("chasen") +$LDFLAGS = "-lstdc++ " +have_library("chasen", "chasen_getopt_argv") && create_makefile("chasen") --- patch-extconf.rb ends here --- >Release-Note: >Audit-Trail: >Unformatted: