From owner-cvs-all Mon Sep 14 23:20:37 1998 Return-Path: Received: (from daemon@localhost) by hub.freebsd.org (8.8.8/8.8.8) id XAA04705 for cvs-all-outgoing; Mon, 14 Sep 1998 23:20:37 -0700 (PDT) (envelope-from owner-cvs-all) Received: from gratis.grondar.za (gratis.grondar.za [196.7.18.65]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id XAA04697; Mon, 14 Sep 1998 23:20:22 -0700 (PDT) (envelope-from mark@grondar.za) Received: from grondar.za (localhost [127.0.0.1]) by gratis.grondar.za (8.9.1/8.9.1) with ESMTP id IAA27913; Tue, 15 Sep 1998 08:20:00 +0200 (SAST) (envelope-from mark@grondar.za) Message-Id: <199809150620.IAA27913@gratis.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 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> Date: Tue, 15 Sep 1998 08:19:59 +0200 From: Mark Murray Sender: owner-cvs-all@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > 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