aboutsummaryrefslogtreecommitdiff
path: root/secure/lib/libcrypt
diff options
context:
space:
mode:
authorMark Murray <markm@FreeBSD.org>1999-01-24 07:51:33 +0000
committerMark Murray <markm@FreeBSD.org>1999-01-24 07:51:33 +0000
commit1b340441b7627402f9fdf8cbfc12dfe69bb2a7d0 (patch)
tree4f6e1fa0ba335d22254d4cedc0e3798b211c7f3c /secure/lib/libcrypt
parenta9d022882c74a0e91b249bb32a2d1b2ab8a5e16b (diff)
downloadsrc-1b340441b7627402f9fdf8cbfc12dfe69bb2a7d0.tar.gz
src-1b340441b7627402f9fdf8cbfc12dfe69bb2a7d0.zip
Fix symlinking. Without the -f "force" option, the wrong version
can be found. Submitted by: Bruce
Notes
Notes: svn path=/head/; revision=43152
Diffstat (limited to 'secure/lib/libcrypt')
-rw-r--r--secure/lib/libcrypt/Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/secure/lib/libcrypt/Makefile b/secure/lib/libcrypt/Makefile
index 1f947c93eec3..512eb57b4a78 100644
--- a/secure/lib/libcrypt/Makefile
+++ b/secure/lib/libcrypt/Makefile
@@ -1,5 +1,5 @@
#
-# $Id$
+# $Id: Makefile,v 1.15 1999/01/23 08:26:01 markm Exp $
#
LCRYPTBASE= libcrypt
@@ -37,25 +37,25 @@ afterinstall:
@cd $(DESTDIR)/$(LIBDIR); \
if [ ! -e $(LCRYPTSO) ]; then \
rm -f $(LCRYPTSO); \
- ln -s $(LDCRYPTSO) $(LCRYPTSO); \
+ ln -sf $(LDCRYPTSO) $(LCRYPTSO); \
fi
.endif
.if !defined(NOPIC) && defined(SHLIB_MAJOR) && ${OBJFORMAT} == elf
@cd $(DESTDIR)/$(LIBDIR); \
if [ ! -e $(LCRYPTBASE).so ]; then \
rm -f $(LCRYPTBASE).so; \
- ln -s $(LDCRYPTBASE).so libcrypt.so; \
+ ln -sf $(LDCRYPTBASE).so libcrypt.so; \
fi
.endif
@cd $(DESTDIR)/$(LIBDIR); \
if [ ! -e $(LCRYPTBASE).a ]; then \
rm -f $(LCRYPTBASE).a; \
- ln -s $(LDCRYPTBASE).a libcrypt.a; \
+ ln -sf $(LDCRYPTBASE).a libcrypt.a; \
fi
.if !defined(NOPROFILE)
@cd $(DESTDIR)/$(LIBDIR); \
if [ ! -e $(LCRYPTBASE)_p.a ]; then \
rm -f $(LCRYPTBASE)_p.a; \
- ln -s $(LDCRYPTBASE)_p.a libcrypt_p.a; \
+ ln -sf $(LDCRYPTBASE)_p.a libcrypt_p.a; \
fi
.endif