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 /lib/libcrypt/Makefile | |
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 'lib/libcrypt/Makefile')
-rw-r--r-- | lib/libcrypt/Makefile | 8 |
1 files changed, 4 insertions, 4 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 |