Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Apr 1998 15:46:33 -0700 (PDT)
From:      asami@FreeBSD.ORG (Satoshi Asami)
To:        ache@FreeBSD.ORG
Cc:        cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-etc@FreeBSD.ORG
Subject:   Re: cvs commit: src/etc make.conf
Message-ID:  <199804162246.PAA10665@silvia.HIP.Berkeley.EDU>
In-Reply-To: <199804160801.BAA06806@freefall.freebsd.org> (ache@FreeBSD.ORG)

next in thread | previous in thread | raw e-mail | index | archive | help
 *   Add missing commented out MOTIF_STATIC example

That part of the file now looks like this:

===
# If you have Motif on your system, uncomment this.
#
#HAVE_MOTIF=    yes
#MOTIF_STATIC=  yes
#
# If the default location of the Motif library (specified below) is NOT
# appropriate for you, uncomment this and change it to the correct value.
# If your motif is in ${X11BASE}/lib, you don't need to touch this line.
#
#MOTIFLIB=      -L${X11BASE}/lib -lXm
===

(1) There is no description of MOTIF_STATIC.  People will most likely
    misunderstand the one above ("If you have Motif...") to mean both
    lines and end up linking everything with libXm.a.

(2) The MOTIFLIB description is not appropriate anymore, now that
    MOTIF_STATIC is given as an example here.

MOTIF_STATIC was never intended for use by ordinary users.  It is only
used for package-builders.  Do we add every possible variable in
make.conf (if so, I have a few dozen more from bsd.port.mk) or only
have the common cases in here?

Maybe it's time for /etc/make.conf.ports?  (No I'm not kidding.)

Satoshi

P.S. I have seen half a dozen people post their make.conf with
     MOTIFLIB uncommented (with the value unchanged) along with
     HAVE_MOTIF.  Someone please tell me how I can change the
     description (the one with the big "NOT") to make it clearer that
     they don't need to change it unless their Motif destribution puts
     the stuff in a totally weird place.  (Is there some way to
     highlight text in ASCII or make the editor jump the cursor to
     that "NOT" when they try to edit the "#"? ;)



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