Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 19 Mar 95 22:46:43 +0100
From:      jmz@cabri.obs-besancon.fr (Jean-Marc Zucconi)
To:        mark@grondar.za
Cc:        rgrimes@gndrsh.aac.dev.com, ports@FreeBSD.org
Subject:   Re: Gripe of the week (tm) :-)
Message-ID:  <9503192146.AA16842@cabri.obs-besancon.fr>
In-Reply-To: <199503192031.WAA23136@grunt.grondar.za> (message from Mark Murray on Sun, 19 Mar 1995 22:31:44 %2B0200)

next in thread | previous in thread | raw e-mail | index | archive | help
>>>>> "Mark" == Mark Murray <mark@grondar.za> writes:

 >> > I am confused about how this works. (The PREFIX thingy.) I've grepped
 >> > around /usr/X11R6/Lib/X11 and some of the X-ports makefiles, and I am
 >> > badly confused now. (Too much work also!!).
 >> > 
 >> > There is no mention of PREFIX in any of the {M}{Im}akefiles of the
 >> > following ports: xv, xearth, ghostview, xdvi. There is also no mention
 >> > of PREFIX in /usr/X11R6/lib/X11/*. Has this ever worked, is is it
 >> > something else I can bang on?
 >> 
 >> Look at /usr/share/mk/bsd.prot.mk.

 > First place I looked. Point is although these PREFIX's are created, no
 > {Im}{M}akefile uses them.

 > find /usr/X11R6/lib/X11 -name \* -exec grep -l PREFIX {} \; comes up blank,
 > so does grepping the port itself.

 > Has anybody actually got a working one?

In the simplest case this can be set in the Makefile with eg.
  MAKE_FLAGS=     BINDIR=${PREFIX}/bin MANDIR=${PREFIX}/man/man1 \
                  XAPPLOADDIR=${PREFIX}/lib/X11/app-defaults -f
  (taken from xloadimage)
In the case of xdvi, try `grep  PREFIX Makefile' :-)


 > M

Jean-Marc.

 > --
 > Mark Murray
 > 46 Harvey Rd, Claremont, Cape Town 7700, South Africa
 > +27 21 61-3768 GMT+0200

    ~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~
    Jean-Marc Zucconi             |         jmz@cabri.obs-besancon.fr
    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?9503192146.AA16842>