Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Jul 2009 04:33:56 GMT
From:      Masanori OZAWA <ozawa@ongs.co.jp>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/136734: [PATCH] lang/neko: build problem fixed
Message-ID:  <200907140433.n6E4XucC062491@www.freebsd.org>
Resent-Message-ID: <200907140440.n6E4e1k0066484@freefall.freebsd.org>

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

>Number:         136734
>Category:       ports
>Synopsis:       [PATCH] lang/neko: build problem fixed
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jul 14 04:40:01 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Masanori OZAWA
>Release:        8.0-CURRENT
>Organization:
ONGS Inc.
>Environment:
FreeBSD mithos.ongs.co.jp 8.0-CURRENT FreeBSD 8.0-CURRENT #0: Sat Jun 27 20:05:15 JST 2009     root@mithos.ongs.co.jp:/usr/obj/usr/src/sys/GENERIC  i386
>Description:
- It fail to build in custom LOCALBASE/PREFIX.
  (details: http://qatty.tecnik93.com/logs/7-STABLE-FPT-CustDir/neko-1.8.0.log)
>How-To-Repeat:
# make LOCALBASE=/usr/PPP X11BASE=/usr/PPP PREFIX=/usr/PPP
# ls work/neko-1.8.0/bin/regexp.ndll
ls: work/neko-1.8.0/bin/regexp.ndll: No such file or directory

>Fix:
diff -urBN neko.orig/Makefile neko/Makefile
--- neko.orig/Makefile	2009-06-28 10:39:10.000000000 +0900
+++ neko/Makefile	2009-07-14 12:01:52.000000000 +0900
@@ -113,6 +113,7 @@
 	@${REINPLACE_CMD} \
 	    -e '/^linkcmd =/s,"ld",cc,' \
 	    -e 's/= readline[(][)];/= "s";/' \
+	    -e 's,/usr/local/include,${PREFIX}/include,' \
 	    -e 's,/usr/local/lib,${PREFIX}/lib,' \
 	    ${WRKSRC}/src/tools/install.neko
 .if !empty(LIBKEYNAME)

>Release-Note:
>Audit-Trail:
>Unformatted:



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