go back to -fpic now that alpha copes

This commit is contained in:
naddy 2006-10-19 13:53:48 +00:00
parent e3f03f1e04
commit 9ff2c03c5d
2 changed files with 6 additions and 6 deletions

View File

@ -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/

View File

@ -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