Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Sep 1998 00:03:57 -0700 (PDT)
From:      asami@freebsd.org (Satoshi Asami)
To:        mark@grondar.za
Cc:        markm@freebsd.org, cvs-committers@freebsd.org, cvs-all@freebsd.org, jdp@polstra.com
Subject:   Re: cvs commit: ports/graphics/jpeg Makefile ports/graphics/jpeg/pkg PLIST
Message-ID:  <199809150703.AAA26650@silvia.hip.berkeley.edu>
In-Reply-To: <199809150620.IAA27913@gratis.grondar.za> (message from Mark Murray on Tue, 15 Sep 1998 08:19:59 %2B0200)

next in thread | previous in thread | raw e-mail | index | archive | help
 * It is not conditional on PORTOBJFORMAT.
 * 
 * GNU Configure makes the decisions:

Oh, I see.

 * > If it does, does it add the flags "-Wl,-soname,jpeg.so.9" to the cc
 * > -shared command line if PORTOBJFORMAT=elf?
 * 
 * Damn. I missed this bit. I assumed that it was a clue to the build,
 * not an instruction. I was using the system default to decide aout/elf,
 * and was assuming that this was availiable to force the issue if
 * necessary.
 * 
 * FWIW - the above is added in elf builds; just not conditional on
 * PORTOBJFORMAT.

That's fine.  PORTOBJFORMAT is just for the convenience for the
porter -- if the software already in question already DTRT, then I
don't think we have to force it to use PORTOBJFORMAT.

BTW, the "DTRT" means in cases PORTOBJFORMAT is set to elf, it builds
elf libs, and in cases it's set to aout, it builds aout libs.
PORTOBJFORMAT is set exactly the same as what the compiler/linker does 
given the environment (/etc/objformat, OBJFORMAT variable, etc.), so
you needn't do anything special if configure does it right.

Satoshi



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