1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-29 21:39:24 +00:00
freebsd-ports/graphics/tiff/files/patch-ab
Maxim Sobolev bc64f8fe69 - take over maintainership;
- use `-sf' ln(1) option when creating symlinks to shared libraries to avoid
  failure when some of those symlinks already exist.

PR:		21286 (partially)
Submitted by:	Martti Kuparinen <martti.kuparinen@nomadiclab.com>
2000-09-18 18:15:04 +00:00

24 lines
627 B
Plaintext

--- configure.orig Mon Mar 20 20:20:42 2000
+++ configure Mon Sep 18 21:04:27 2000
@@ -1150,8 +1150,10 @@
TIFFLIBREF='-L${DEPTH}/libtiff -ltiff'
;;
*-freebsd*)
- DSOSUF=so.${DIST_MAJOR}.0
+ DSOSUF=so
LIBCOPTS='-fpic -fPIC'
+ DSOSUF_VERSION=${DSOSUF}.4
+ DSOOPTS='-shared'
DSO=FREEBSD
TIFFLIBREF='-L${DEPTH}/libtiff -ltiff'
;;
@@ -1256,7 +1258,7 @@
# Check if ln -s creates a symbolic link.
#
if [ -z "${LN_S-}" ]; then
- $RM t.c; $LN -s foo t.c && LN_S=-s
+ $RM t.c; $LN -sf foo t.c && LN_S=-sf
fi
if [ -n "$LN_S" ]; then
Note "Looks like $LN supports the -s option to create a symbolic link."