Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Jul 2004 00:01:21 +0900 (JST)
From:      HASHI Hiroaki <hashiz@tomba.cskk-sv.co.jp>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/68922: fix build error japanese/ruby-chasen
Message-ID:  <200407111501.i6BF1Lo8009945@tomba.cskk-sv.co.jp>
Resent-Message-ID: <200407111510.i6BFALW1093500@freefall.freebsd.org>

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

>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:



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