diff options
author | markm <markm@FreeBSD.org> | 1999-01-24 07:51:33 +0000 |
---|---|---|
committer | markm <markm@FreeBSD.org> | 1999-01-24 07:51:33 +0000 |
commit | b8535c2b1b603940e6892fa396060eedd64eff96 (patch) | |
tree | 97f8dbd20e016b8a270f5064c651feb98950fd93 /secure/lib/libcrypt | |
parent | f9b33c6dc5dbef581b550cc0d82934e9779e191f (diff) | |
download | FreeBSD-src-b8535c2b1b603940e6892fa396060eedd64eff96.zip FreeBSD-src-b8535c2b1b603940e6892fa396060eedd64eff96.tar.gz |
Fix symlinking. Without the -f "force" option, the wrong version
can be found.
Submitted by: Bruce
Diffstat (limited to 'secure/lib/libcrypt')
-rw-r--r-- | secure/lib/libcrypt/Makefile | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/secure/lib/libcrypt/Makefile b/secure/lib/libcrypt/Makefile index 1f947c9..512eb57 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 |