From owner-freebsd-ports Sun Mar 19 13:47:53 1995 Return-Path: ports-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id NAA04539 for ports-outgoing; Sun, 19 Mar 1995 13:47:53 -0800 Received: from cabri.obs-besancon.fr (cabri.obs-besancon.fr [193.52.184.3]) by freefall.cdrom.com (8.6.10/8.6.6) with SMTP id NAA04499 for ; Sun, 19 Mar 1995 13:47:46 -0800 Received: by cabri.obs-besancon.fr (5.57/Ultrix3.0-C) id AA16842; Sun, 19 Mar 95 22:46:43 +0100 Date: Sun, 19 Mar 95 22:46:43 +0100 From: jmz@cabri.obs-besancon.fr (Jean-Marc Zucconi) Message-Id: <9503192146.AA16842@cabri.obs-besancon.fr> To: mark@grondar.za Cc: rgrimes@gndrsh.aac.dev.com, ports@FreeBSD.org In-Reply-To: <199503192031.WAA23136@grunt.grondar.za> (message from Mark Murray on Sun, 19 Mar 1995 22:31:44 +0200) Subject: Re: Gripe of the week (tm) :-) X-Mailer: Emacs Sender: ports-owner@FreeBSD.org Precedence: bulk >>>>> "Mark" == Mark Murray 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 =========================================================================