ports/68922: fix build error japanese/ruby-chasen

HASHI Hiroaki hashiz at tomba.cskk-sv.co.jp
Sun Jul 11 15:10:21 UTC 2004


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



More information about the freebsd-ports-bugs mailing list