Date: Sat, 22 May 2010 09:20:02 GMT From: Anonymous <swell.k@gmail.com> To: freebsd-bugs@FreeBSD.org Subject: Re: conf/146821: [patch] texinfo/info: respect LOCALBASE for INFODIR Message-ID: <201005220920.o4M9K2KT080271@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR conf/146821; it has been noted by GNATS.
From: Anonymous <swell.k@gmail.com>
To: bug-followup@freebsd.org
Cc:
Subject: Re: conf/146821: [patch] texinfo/info: respect LOCALBASE for INFODIR
Date: Sat, 22 May 2010 13:16:55 +0400
more simpler form
--- a.diff begins here ---
Index: gnu/usr.bin/texinfo/info/Makefile
===================================================================
--- gnu/usr.bin/texinfo/info/Makefile (revision 208414)
+++ gnu/usr.bin/texinfo/info/Makefile (working copy)
@@ -8,8 +8,10 @@
infomap.c m-x.c man.c nodemenu.c nodes.c search.c session.c \
signals.c terminal.c tilde.c variables.c window.c
-CFLAGS+= -DINFODIR=\"${INFODIR}:/usr/local/info:.\"
+CFLAGS+= -DINFODIR=\"${INFODIR}:${LOCALBASE}/info:.\"
+LOCALBASE?= /usr/local
+
DPADD= ${LIBTERMCAP} ${LIBTXI}
LDADD= -ltermcap ${LIBTXI}
--- a.diff ends here ---
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201005220920.o4M9K2KT080271>
