--- configure.orig Tue Sep 2 13:54:16 1997 +++ configure Sat Jan 23 10:58:22 1999 @@ -1146,5 +1146,13 @@ *-freebsd*) - DSOSUF=so.${DIST_MAJOR}.0 + DSOSUF=so LIBCOPTS='-fpic -fPIC' - DSO=FREEBSD + 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 TIFFLIBREF='-L${DEPTH}/libtiff -ltiff'