From owner-freebsd-ports@FreeBSD.ORG Sat Jan 3 15:36:28 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 2D44716A4CE for ; Sat, 3 Jan 2004 15:36:28 -0800 (PST) Received: from mail.vonostingroup.com (ip209-154.digitalrealm.net [216.144.209.154]) by mx1.FreeBSD.org (Postfix) with SMTP id A97B743D77 for ; Sat, 3 Jan 2004 15:36:25 -0800 (PST) (envelope-from laszlof@vonostingroup.com) Received: (qmail 303 invoked by uid 89); 3 Jan 2004 23:45:25 -0000 Received: from unknown (HELO vonostingroup.com) (laszlof@68.61.30.43) by ip209-154.digitalrealm.net with SMTP; 3 Jan 2004 23:45:25 -0000 Message-ID: <3FF751F0.30909@vonostingroup.com> Date: Sat, 03 Jan 2004 18:36:16 -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-ports@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: [Fwd: 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 23:36:28 -0000 Someone suggested to post this to -ports, so I am doing so. 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 in ${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