From owner-cvs-all Wed Sep 16 14:35:38 1998 Return-Path: Received: (from daemon@localhost) by hub.freebsd.org (8.8.8/8.8.8) id OAA11812 for cvs-all-outgoing; Wed, 16 Sep 1998 14:35:38 -0700 (PDT) (envelope-from owner-cvs-all) Received: from vader.cs.berkeley.edu (vader.CS.Berkeley.EDU [128.32.38.234]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id OAA11760; Wed, 16 Sep 1998 14:35:22 -0700 (PDT) (envelope-from asami@vader.cs.berkeley.edu) Received: from silvia.hip.berkeley.edu (sji-ca5-24.ix.netcom.com [209.109.234.24]) by vader.cs.berkeley.edu (8.8.7/8.7.3) with ESMTP id OAA06274; Wed, 16 Sep 1998 14:34:57 -0700 (PDT) Received: (from asami@localhost) by silvia.hip.berkeley.edu (8.8.8/8.6.9) id OAA09875; Wed, 16 Sep 1998 14:34:54 -0700 (PDT) Date: Wed, 16 Sep 1998 14:34:54 -0700 (PDT) Message-Id: <199809162134.OAA09875@silvia.hip.berkeley.edu> To: smace@FreeBSD.ORG CC: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG In-reply-to: <199809161420.HAA08983@freefall.freebsd.org> (message from Scott Mace on Wed, 16 Sep 1998 07:20:11 -0700 (PDT)) Subject: Re: cvs commit: ports/graphics/jbigkit/patches patch-aa patch-ab From: asami@FreeBSD.ORG (Satoshi Asami) Sender: owner-cvs-all@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk * Fix building problems on a.out systems Thanks, but packaging still doesn't work. You need to create a libjbig.so symlink in the a.out case too (since it is listed in PLIST). How about the following? ------- Index: patches/patch-aa =================================================================== RCS file: /home/ncvs/ports/graphics/jbigkit/patches/patch-aa,v retrieving revision 1.4 diff -u -r1.4 patch-aa --- patch-aa 1998/09/16 14:20:11 1.4 +++ patch-aa 1998/09/16 21:27:10 @@ -53,7 +53,7 @@ rm -f *~ core *************** *** 31,33 **** ---- 32,55 ---- +--- 32,56 ---- distribution: clean rm -f libjbig/libjbig.a (cd ..; tar -c -v --exclude RCS -f jbigkit.tar jbigkit) @@ -77,4 +77,5 @@ + (cd ${PREFIX}/lib; ln -sf libjbig.so.1 libjbig.so) + .else + install -c -m 644 -o bin -g bin libjbig/libjbig.so.1.0 ${PREFIX}/lib ++ (cd ${PREFIX}/lib; ln -sf libjbig.so.1.0 libjbig.so) + .endif ------- The alternative is to put an @exec/unexec pair in pkg/PLIST that looks at the value of PORTOBJFORMAT and creates links on the fly if it's ELF, but I don't think we have to go that far. Satoshi