Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Aug 1998 04:50:01 -0700 (PDT)
From:      asami@FreeBSD.ORG (Satoshi Asami)
To:        freebsd-ports@FreeBSD.ORG
Subject:   Re: ports/7572
Message-ID:  <199808111150.EAA17144@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/7572; it has been noted by GNATS.

From: asami@FreeBSD.ORG (Satoshi Asami)
To: andreas@klemm.gtn.com
Cc: cracauer@cons.org, FreeBSD-gnats-submit@FreeBSD.ORG, andreas@FreeBSD.ORG
Subject: Re: ports/7572
Date: Tue, 11 Aug 1998 04:45:40 -0700 (PDT)

 (Quoting in full to put it in audit-trail of correct PR.)
 
 Andreas:
  * Hmm, I think you triggered the trap by defining PREFIX explicitely
  * in /etc/make.conf.
  * 
  * Normally this shouldn't happen, because the port defines
  * USE_X_PREFIX in Makefile. If you dig into bsd.ports.mk:
  * 
  * .if defined(USE_X_PREFIX) 
  * USE_X11=                yes 
  * .endif                                          
  * .if defined(USE_X_PREFIX)
  * PREFIX?=                ${X11BASE}
  * .else
  * PREFIX?=                ${LOCALBASE}
  * .endif
  * 
  * You should see, that PREFIX will be set to ${X11BASE}
  * 
  * But you are right, the port will be broken, if somebody sets his
  * own PREFIX variable.
 
 That's because the port uses both PREFIX and X11BASE.  It should use
 PREFIX only it is equal to X11BASE in this case.
 
 X11BASE is for non-X ports that need to refer to /usr/X11R6 or its
 equivalent.  (Similarly, LOCALBASE is for X ports to refer to
 /usr/local or its equivalent.)
 
  * So, what's the real use of defining USE_X_PREFIX, instead of using
  * directly X11BASE instead of PREFIX ?!
  * 
  * I think of cases, where people want their X11 stuff still live 
  * in /usr/X11R6 but local ports in /local or something else ...
 
 Satoshi

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message



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