openbsd-ports/graphics/tiff/patches/patch-configure
wilfried 97034e70a2 use -fPIC rather than -fpic
regenerate the patches with update-patches
ok naddy@
2001-10-10 15:15:00 +00:00

18 lines
499 B
Plaintext

$OpenBSD: patch-configure,v 1.1 2001/10/10 15:15:00 wilfried Exp $
--- configure.orig Mon Mar 20 19:20:42 2000
+++ configure Wed Oct 10 17:07:22 2001
@@ -1155,6 +1155,13 @@ if [ "$DSO" = auto ]; then
DSO=FREEBSD
TIFFLIBREF='-L${DEPTH}/libtiff -ltiff'
;;
+ *-openbsd*)
+ DSOSUF=so
+ DSOSUF_VERSION=${DSOSUF}.35.5
+ LIBCOPTS='-fPIC'
+ DSO=OPENBSD
+ TIFFLIBREF='-L${DEPTH}/libtiff -ltiff'
+ ;;
*-linux*)
if [ -r /lib/libc.so.6 || -r /lib/libc.so.5 ]; then
DSOSUF=so.${DIST_MAJOR}