diff options
author | Scott Mace <smace@FreeBSD.org> | 1998-09-15 15:07:33 +0000 |
---|---|---|
committer | Scott Mace <smace@FreeBSD.org> | 1998-09-15 15:07:33 +0000 |
commit | fefedc67f6fddb3618b5cfcadc524103cb7acb65 (patch) | |
tree | 842258a52ba9a4844d0e3e9143dceb2d6852f73c /graphics/jbigkit | |
parent | f3a0fe1f570c5da2e74d86602b39454a1dbee430 (diff) | |
download | ports-fefedc67f6fddb3618b5cfcadc524103cb7acb65.tar.gz ports-fefedc67f6fddb3618b5cfcadc524103cb7acb65.zip |
Notes
Diffstat (limited to 'graphics/jbigkit')
-rw-r--r-- | graphics/jbigkit/files/patch-ab | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/graphics/jbigkit/files/patch-ab b/graphics/jbigkit/files/patch-ab index 904e6ee1b6fd..132fd3c2dda7 100644 --- a/graphics/jbigkit/files/patch-ab +++ b/graphics/jbigkit/files/patch-ab @@ -1,5 +1,5 @@ --- libjbig/Makefile.orig Fri Apr 10 20:33:27 1998 -+++ libjbig/Makefile Mon Sep 14 16:45:39 1998 ++++ libjbig/Makefile Tue Sep 15 10:03:50 1998 @@ -5,9 +5,9 @@ CC = gcc @@ -12,13 +12,17 @@ tstcodec: tstcodec.c jbig.c jbig.h jbig_tab.o $(CC) $(CFLAGS) -o tstcodec -DTEST_CODEC tstcodec.c jbig.c \ -@@ -18,10 +18,21 @@ +@@ -18,10 +18,25 @@ ar rc libjbig.a jbig.o jbig_tab.o ranlib libjbig.a +libjbig.so.1: jbig.so jbig_tab.so + rm -f libjbig.so.1 ++.if defined(PORTOBJFORMAT) && ${PORTOBJFORMAT} == elf + $(CC) -o ${.TARGET} -shared -Wl,-soname,${.TARGET} ${.ALLSRC} ++.else ++ ld -Bshareable -o ${.TARGET} ${.ALLSRC} ++.endif + ln -sf libjbig.so.1 libjbig.so + jbig.o: jbig.c jbig.h |