Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Sep 1998 08:19:59 +0200
From:      Mark Murray <mark@grondar.za>
To:        asami@freebsd.org (Satoshi Asami)
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:  <199809150620.IAA27913@gratis.grondar.za>
In-Reply-To: Your message of " Mon, 14 Sep 1998 23:02:08 MST." <199809150602.XAA26530@silvia.hip.berkeley.edu> 
References:  <199809150602.XAA26530@silvia.hip.berkeley.edu> 

next in thread | previous in thread | raw e-mail | index | archive | help
> Does the port now create libjpeg.so.9 if PORTOBJFORMAT=elf?  (Maybe it
> does, I just don't see how your changes, a one-liner in Makefile to
> change the ldconfig lines and some lines in pkg/PLIST would accomplish
> it.)

It is not conditional on PORTOBJFORMAT.

GNU Configure makes the decisions:

checking host system type... i386-unknown-freebsd3.0
checking for ranlib... ranlib
checking whether we are using GNU C... yes
checking for cc option to produce PIC... -fPIC
checking if cc PIC flag -fPIC works... yes
checking if cc static flag -static works... -static
checking whether ln -s works... yes
checking for ld used by GCC... /usr/libexec/elf/ld
checking if the linker (/usr/libexec/elf/ld) is GNU ld... yes
checking whether the linker (/usr/libexec/elf/ld) supports shared libraries... yes
checking for BSD-compatible nm... /usr/bin/nm -B
checking command to parse /usr/bin/nm -B output... yes
checking how to hardcode library paths into programs... immediate
checking for /usr/libexec/elf/ld option to reload object files... -r

> 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.

I'll fix it.

M
--
Mark Murray
Join the anti-SPAM movement: http://www.cauce.org



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