Skip site navigation (1)Skip section navigation (2)
Date:      12 Jul 2002 07:43:53 -0000
From:      Stanislav Grozev <tacho@factline.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/40473: lang/pike looks for master.pike in the wrong place (fix included)
Message-ID:  <20020712074353.40422.qmail@daemonz.org>

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

>Number:         40473
>Category:       ports
>Synopsis:       lang/pike looks for master.pike in the wrong place (fix included)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jul 12 00:50:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Stanislav Grozev
>Release:        FreeBSD 5.0-CURRENT i386
>Organization:
me and myself
>Environment:
System: FreeBSD logrus.daemonz.org 5.0-CURRENT FreeBSD 5.0-CURRENT #9: Thu Jul 11 00:05:03 CEST 2002 root@logrus.daemonz.org:/home/scratch/obj/usr/src/sys/LOGRUS i386

>Description:

pike compiles fine, but when you install it, and run it, it complains
about missing $PREFIX(in that case /usr/local)/pike/7.0.78/lib/master.pike
the file is present, but it's in $PREFIX/lib/pike/master.local

>How-To-Repeat:

cd /usr/ports/lang/pike
make install
pike

>Fix:

put this patch as files/patch-ab and recompile. yes, i am directly modifying
configure, instead of configure.in, as per porters-handbook. i do this, first
because autoconf (both 2.13 and 2.50) behaves funny with pike's configure.in,
and second - it's only a one-liner anyway.

--- begin patch-ab ---

--- configure.orig	Thu Jul 11 23:21:52 2002
+++ configure	Thu Jul 11 23:22:12 2002
@@ -12491,7 +12491,7 @@
 subdirs="modules post_modules"
 
 
-default_master=$prefix/pike/%d.%d.%d/lib/master.pike
+default_master=$prefix/lib/pike/master.pike
 cat >> confdefs.h <<EOF
 #define DEFAULT_MASTER "$default_master"
 EOF

--- end patch-ab ---

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

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




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