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 | |
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
-rw-r--r-- | lib/libcrypt/Makefile | 8 | ||||
-rw-r--r-- | secure/lib/libcrypt/Makefile | 10 |
2 files changed, 9 insertions, 9 deletions
diff --git a/lib/libcrypt/Makefile b/lib/libcrypt/Makefile index 20d181b..026da79 100644 --- a/lib/libcrypt/Makefile +++ b/lib/libcrypt/Makefile @@ -31,26 +31,26 @@ afterinstall: @cd ${DESTDIR}${SHLIBDIR}; \ if [ ! -e ${LCRYPTSO} ]; then \ rm -f ${LCRYPTSO}; \ - ln -s ${LSCRYPTSO} ${LCRYPTSO}; \ + ln -sf ${LSCRYPTSO} ${LCRYPTSO}; \ fi .endif .if !defined(NOPIC) && ${OBJFORMAT} == elf @cd ${DESTDIR}${SHLIBDIR}; \ if [ ! -e ${LCRYPTBASE}.so ]; then \ rm -f ${LCRYPTBASE}.so; \ - ln -s ${LSCRYPTBASE}.so libcrypt.so; \ + ln -sf ${LSCRYPTBASE}.so libcrypt.so; \ fi .endif @cd ${DESTDIR}${LIBDIR}; \ if [ ! -e ${LCRYPTBASE}.a ]; then \ rm -f ${LCRYPTBASE}.a; \ - ln -s ${LSCRYPTBASE}.a libcrypt.a; \ + ln -sf ${LSCRYPTBASE}.a libcrypt.a; \ fi .if !defined(NOPROFILE) @cd ${DESTDIR}${LIBDIR}; \ if [ ! -e ${LCRYPTBASE}_p.a ]; then \ rm -f ${LCRYPTBASE}_p.a; \ - ln -s ${LSCRYPTBASE}_p.a libcrypt_p.a; \ + ln -sf ${LSCRYPTBASE}_p.a libcrypt_p.a; \ fi .endif 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 |