Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 Sep 95 14:30:07 +0100
From:      Jean-Marc Zucconi <jmz@cabri.obs-besancon.fr>
To:        asami@cs.berkeley.edu
Cc:        ports@freebsd.org
Subject:   Re: viewfax doesn't package
Message-ID:  <9509291330.AA02036@cabri.obs-besancon.fr>
In-Reply-To: <199509290923.CAA01034@silvia.HIP.Berkeley.EDU> (asami@cs.berkeley.edu)

next in thread | previous in thread | raw e-mail | index | archive | help
>>>>> Satoshi Asami writes:

 > It's because USE_IMAKE implies PREFIX=/usr/X11R6 (or whatever X11BASE
 > is set to).

make package PREFIX=/usr/local works

 > I took a look into the source, this Imakefile is evil, it has
 > something like

 > BINDIR = /usr/local/bin         /* where you want the binary installed */
 > MANDIR = /usr/local/man/man1    /* where you want the man file installed */
 > HELPDIR = /usr/local/lib        /* where you want the help file installed */

 > Do you think we can delete BINDIR, MANDIR and set HELPDIR to
 > ${USRLIBDIR}/X11 or something?

I did not change this because I prefer to install everything in
/usr/local than in /usr/X11R6 :-)

 > Imakefiles have no business playing with the directory definitions,
 > IMO.  Those things are well-defined in ${X11BASE}/X11/config/*.

The problem with the ports using Imake is that there is no mechanism
in bsd.port.mk to install them in another location than $X11BASE. I
should have written a configure script to set BINDIR, MANDIR and
HELPDIR:
	echo "BINDIR=$PREFIX/bin" >> $WRKSRC/Imakefile
	etc...
but I am lazy those days :-)
	
 > Satoshi

 _____________________________________________________________________________
 Jean-Marc Zucconi       Observatoire de Besancon       F 25010 Besancon cedex
                   PGP Key: finger jmz@cabri.obs-besancon.fr
 =============================================================================



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