From owner-freebsd-ports@FreeBSD.ORG Sat Jan 3 12:29:44 2004 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9BBEB16A4CF for ; Sat, 3 Jan 2004 12:29:44 -0800 (PST) Received: from mag.barnet.com.au (mag.barnet.com.au [218.185.88.3]) by mx1.FreeBSD.org (Postfix) with ESMTP id BA2E043D5A for ; Sat, 3 Jan 2004 12:28:48 -0800 (PST) (envelope-from edwin@mavetju.org) Received: from extmail.barnet.com.au (tim.direct.int.barnet.com.au [10.10.10.2]) by mag.barnet.com.au (Postfix) with ESMTP id 30AD26D2 for ; Sun, 4 Jan 2004 07:28:46 +1100 (EST) X-Viruscan-Id: <3FF725FE00005BF0012E77BE@VIRUSCAN-127.0.0.1> Received: from extmail-auth.barnet.com.au (localhost [127.0.0.1]) by extmail.barnet.com.au (Postfix) with ESMTP id D1B471EE3 for ; Sun, 4 Jan 2004 07:28:45 +1100 (EST) Received: from k7.mavetju (unknown [192.168.1.1]) by extmail-auth.barnet.com.au (Postfix) with ESMTP id 3F7721E19 for ; Sun, 4 Jan 2004 07:28:45 +1100 (EST) Received: by k7.mavetju (Postfix, from userid 1001) id CC0AF6A7101; Sun, 4 Jan 2004 07:28:44 +1100 (EST) X-Original-To: edwin@localhost Delivered-To: edwin@localhost.mavetju Received: from localhost (localhost [127.0.0.1]) by k7.mavetju (Postfix) with ESMTP id 08CBC6A7103 for ; Sun, 4 Jan 2004 05:30:09 +1100 (EST) Received: from pop.barnet.com.au [218.185.88.3] by localhost with POP3 (fetchmail-6.2.5) for edwin@localhost (single-drop); Sun, 04 Jan 2004 05:30:09 +1100 (EST) Received: from extmail.barnet.com.au (tim.direct.int.barnet.com.au [10.10.10.2]) by mag.barnet.com.au (Postfix) with ESMTP id 176A51AB for ; Sun, 4 Jan 2004 05:22:36 +1100 (EST) X-Viruscan-Id: <3FF7086B0000EDD701F119ED@VIRUSCAN-127.0.0.1> Received: from mx2.freebsd.org (mx2.freebsd.org [216.136.204.119]) by extmail.barnet.com.au (Postfix) with ESMTP id A78641E19 for ; Sun, 4 Jan 2004 05:22:35 +1100 (EST) Received: from hub.freebsd.org (hub.freebsd.org [216.136.204.18]) by mx2.freebsd.org (Postfix) with ESMTP id CFC4855423 for ; Sat, 3 Jan 2004 10:22:33 -0800 (PST) (envelope-from laszlof@vonostingroup.com) Received: by hub.freebsd.org (Postfix) id CC6CE16A4CF; Sat, 3 Jan 2004 10:22:33 -0800 (PST) Delivered-To: edwin@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CA45116A4CE for ; Sat, 3 Jan 2004 10:22:33 -0800 (PST) Received: from mail.vonostingroup.com (ip209-154.digitalrealm.net [216.144.209.154]) by mx1.FreeBSD.org (Postfix) with SMTP id 2CCB543D68 for ; Sat, 3 Jan 2004 10:22:26 -0800 (PST) (envelope-from laszlof@vonostingroup.com) Received: (qmail 92526 invoked by uid 89); 3 Jan 2004 18:31:23 -0000 Received: from unknown (HELO vonostingroup.com) (laszlof@68.61.30.43) by ip209-154.digitalrealm.net with SMTP; 3 Jan 2004 18:31:23 -0000 Message-ID: <3FF7085D.305@vonostingroup.com> Date: Sat, 03 Jan 2004 13:22:21 -0500 From: Frank Laszlo User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030821 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Checker-Version: SpamAssassin 2.61 (1.212.2.1-2003-12-09-exp) on k7.mavetju X-Spam-Status: No, hits=-4.9 required=5.0 tests=BAYES_00 autolearn=ham version=2.61 X-Spam-Level: Resent-From: edwin@mavetju.org Resent-Date: Sun, 4 Jan 2004 07:28:44 +1100 Resent-To: ports@freebsd.org Resent-Message-Id: <20040103202844.CC0AF6A7101@k7.mavetju> cc: edwin@freebsd.org Subject: readline port weirdness X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Jan 2004 20:29:44 -0000 I'm trying to patch the readline port to support READLINE_OVERWRITE_BASE as suggested by Edwin. im running into a bit of a snag with info files. Here is what I have in the Makefile .if defined(READLINE_OVERWRITE_BASE) PREFIX= /usr MANPREFIX= ${PREFIX}/share INFOPREFIX= ${PREFIX}/share CONFIGURE_ARGS= --mandir=${MANPREFIX}/man --infodir=${INFOPREFIX}/info .endif the correct location for info files should be /usr/share/info (am I wrong?) but when i do a make install for this port I get the following errors: ls: /usr/info/readline.info*: No such file or directory ls: /usr/info/rluserman.info*: No such file or directory ls: /usr/info/history.info*: No such file or directory After reading through bsd.port.mk I found this: .for i in ${INFO} @${ECHO_CMD} "@unexec install-info --delete %D/info/$i.info %D/info/dir" \ >> ${TMPPLIST} @${LS} ${PREFIX}/info/$i.info* | ${SED} -e s:${PREFIX}/::g >> ${TMPPLIST} @${ECHO_CMD} "@exec install-info %D/info/$i.info %D/info/dir" \ >> ${TMPPLIST} .endfor note the line starting with @${LS} it looks it PREFIX/info. which is my case would be /usr/info (which is wrong) is there any reason this shouldnt be something like ${INFOPREFIX} instead of ${PREFIX}? where INFOPREFIX=${PREFIX}/info This would allow for ports to set the variable without having to write a custom installation script for allow for /usr/share/info. any ideas? Thanks -Frank