1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-13 23:36:08 +00:00
freebsd-ports/graphics/tiff/files/patch-ab
1998-11-25 09:01:25 +00:00

23 lines
500 B
Plaintext

--- configure.orig Mon Apr 29 17:16:17 1996
+++ configure Fri Sep 18 16:38:02 1998
@@ -1140,6 +1140,19 @@
DSOOPTS='-shared'
DSO=OSF
;;
+ *-freebsd*)
+ DSOSUF=so
+ LIBCOPTS='-fpic -DPIC'
+ if [ $PORTOBJFORMAT = elf ]; then
+ DSOSUF_VERSION=${DSOSUF}.4
+ DSOOPTS='-shared'
+ DSO=FREEBSD_ELF
+ else
+ DSOSUF_VERSION=${DSOSUF}.4.0
+ DSOOPTS='-Bshareable'
+ DSO=FREEBSD_AOUT
+ fi
+ ;;
*) DSO=no;;
esac
test -z "$DSOSUF_VERSION" && DSOSUF_VERSION=${DSOSUF}