diff --git a/graphics/jbigkit/Makefile b/graphics/jbigkit/Makefile index 8d538d8b805..cf5f5465a66 100644 --- a/graphics/jbigkit/Makefile +++ b/graphics/jbigkit/Makefile @@ -1,9 +1,9 @@ -# $OpenBSD: Makefile,v 1.30 2006/10/02 14:32:54 naddy Exp $ +# $OpenBSD: Makefile,v 1.31 2006/10/19 13:53:48 naddy Exp $ COMMENT= "lossless image compression library" DISTNAME= jbigkit-1.6 -PKGNAME= ${DISTNAME}p0 +PKGNAME= ${DISTNAME}p1 SHARED_LIBS= jbig 2.0 CATEGORIES= graphics MASTER_SITES= http://www.cl.cam.ac.uk/~mgk25/download/ diff --git a/graphics/jbigkit/patches/patch-libjbig_Makefile b/graphics/jbigkit/patches/patch-libjbig_Makefile index b19aa783822..c5f84efb39b 100644 --- a/graphics/jbigkit/patches/patch-libjbig_Makefile +++ b/graphics/jbigkit/patches/patch-libjbig_Makefile @@ -1,12 +1,12 @@ -$OpenBSD: patch-libjbig_Makefile,v 1.4 2006/10/02 14:32:54 naddy Exp $ ---- libjbig/Makefile.orig Tue Jun 8 16:40:06 2004 -+++ libjbig/Makefile Mon Oct 2 16:16:35 2006 +$OpenBSD: patch-libjbig_Makefile,v 1.5 2006/10/19 13:53:48 naddy Exp $ +--- libjbig/Makefile.orig Tue Jun 8 10:40:06 2004 ++++ libjbig/Makefile Mon Dec 26 12:53:54 2005 @@ -7,17 +7,32 @@ CC = gcc # Options for the compiler: A high optimization level is suggested CFLAGS = -O -Wall -ansi -pedantic -all: libjbig.a tstcodec -+PICFLAG= -fPIC ++PICFLAG= -fpic +.if defined(NO_SHARED_LIBS) && ${NO_SHARED_LIBS:L} == "yes" +all: libjbig.a