From owner-freebsd-ports Thu Mar 25 19:55: 5 1999 Delivered-To: freebsd-ports@freebsd.org Received: from corp.au.triax.com (slwag2p05.ozemail.com.au [203.108.157.53]) by hub.freebsd.org (Postfix) with ESMTP id 32E3714CF7 for ; Thu, 25 Mar 1999 19:55:00 -0800 (PST) (envelope-from jim@corp.au.triax.com) Received: (from jim@localhost) by corp.au.triax.com (8.9.3/8.9.3) id OAA80549; Fri, 26 Mar 1999 14:54:34 +1100 (EST) Date: Fri, 26 Mar 1999 14:54:33 +1100 From: Jim Mock To: Steve Price Cc: ports@FreeBSD.ORG Subject: Re: Makefile help Message-ID: <19990326145433.A79699@corp.au.triax.com> Reply-To: jim@corp.au.triax.com References: <19990326140856.A75573@corp.au.triax.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii User-Agent: Mutt/0.96.1i In-Reply-To: Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Thu, 25 Mar 1999 at 21:44:54 -0600, Steve Price wrote: [snip..] > # Also, since USE_IMAKE implies USE_X_PREFIX, the deinstall looks > # in /usr/X11R6 for the files in the PLIST and doesn't find them > # there. Setting USE_X_PREFIX to no doesn't matter, it still looks > # in /usr/X11R6 and doesn't find them. > > The test in ports/Mk/bsd.port.mk is '.if defined(USE_X_PREFIX)' so > you need to un-define it for that to work. > > # So basically, my questions are.. > # > # Is there a way to make it install everything into X prefix > # (including the libs)? > > The key is probably in the Imakefile. Can you send me a copy and > let me take a look? > Boy do I feel dumb now.. I figured it was right in front of my face, and it was =) I've edited the Imakefiles and made some patches.. I'll be testing it with them in a sec. > # If it's not a big deal that it installs into /usr/local, how can > # I get deinstall to look there instead of X prefix? > > One way (though you didn't here it from me :) is to add a line like > > PREFIX= ${LOCALBASE} > I actually thought about doing that when I was looking at bsd.port.mk but figured I'd see if I could find a better way first ;) Thanks Steve. Later, -- Jim Mock System Administrator jim@corp.au.triax.com ,-._|\ FreeBSD work: Triax Internet Services http://www.triax.com/ / \ The personal: http://www.triax.com/~jim/ \_,--._/ Power To The FreeBSD 'zine http://www.freebsdzine.org/ v Serve! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message