Date: Wed, 16 Sep 1998 14:34:54 -0700 (PDT) From: asami@FreeBSD.ORG (Satoshi Asami) To: smace@FreeBSD.ORG Cc: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG Subject: Re: cvs commit: ports/graphics/jbigkit/patches patch-aa patch-ab Message-ID: <199809162134.OAA09875@silvia.hip.berkeley.edu> In-Reply-To: <199809161420.HAA08983@freefall.freebsd.org> (message from Scott Mace on Wed, 16 Sep 1998 07:20:11 -0700 (PDT))
next in thread | previous in thread | raw e-mail | index | archive | help
* 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199809162134.OAA09875>
