Date: Sat, 03 Jan 2004 13:22:21 -0500 From: Frank Laszlo <laszlof@vonostingroup.com> To: freebsd-questions@freebsd.org Cc: edwin@freebsd.org Subject: readline port weirdness Message-ID: <3FF7085D.305@vonostingroup.com> Resent-Message-ID: <20040103202844.CC0AF6A7101@k7.mavetju>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3FF7085D.305>