diff options
author | wiz <wiz> | 2001-03-13 20:46:04 +0000 |
---|---|---|
committer | wiz <wiz> | 2001-03-13 20:46:04 +0000 |
commit | 1d2a6171a2cbeea883ad62cb8e18e15d698bb544 (patch) | |
tree | a557c8ea76d6abc22c300bf472ea5662d208ffe8 /mail/imap-uw | |
parent | 5bf2a3b3be1d56447413cd61d34a03fb33284a1f (diff) | |
download | pkgsrc-1d2a6171a2cbeea883ad62cb8e18e15d698bb544.tar.gz |
Fix installation on a.out. Addresses pkg/12361.
Diffstat (limited to 'mail/imap-uw')
-rw-r--r-- | mail/imap-uw/Makefile | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/mail/imap-uw/Makefile b/mail/imap-uw/Makefile index 37599fb7f0d..2f8c44708c8 100644 --- a/mail/imap-uw/Makefile +++ b/mail/imap-uw/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.29 2001/03/13 20:22:10 jlam Exp $ +# $NetBSD: Makefile,v 1.30 2001/03/13 20:46:04 wiz Exp $ DISTNAME= imap-2000c PKGNAME= imap-uw-2000.0.3nb1 @@ -43,9 +43,6 @@ CCLIENT_INCS= c-client.h env.h env_unix.h flstring.h fs.h ftl.h \ tcp.h utf8.h CCLIENT_LIB= libc-client.la CCLIENT_PICLIB= libc-client_pic.a -CCLIENT_LIBS= libc-client.a libc-client.la libc-client.so \ - libc-client.so.${CCLIENT_MAJOR}.${CCLIENT_MINOR} \ - libc-client.so.${CCLIENT_MAJOR} CCLIENT_MAJOR= 4 CCLIENT_MINOR= 1 CCLIENT_MFILES= src/imapd/Makefile \ @@ -101,9 +98,10 @@ do-install: ${INST_LIB} ${WRKSRC}/c-client/${CCLIENT_LIB} ${LIB_DIR} ${INSTALL_DATA} ${WRKSRC}/c-client/.libs/${CCLIENT_PICLIB} ${LIB_DIR} ${RANLIB} ${LIB_DIR}/${CCLIENT_PICLIB} + cd ${LIB_DIR}; for file in libc-client.*; do \ cd ${LIB_DIR}; for file in ${CCLIENT_LIBS}; do \ f=`echo $${file} | ${SED} "s|libc-client|libimapuw|g"`; \ - [ -f $${file} ] && ${LN} -sf $${file} $${f}; \ + ${TEST} -f $${file} && ${LN} -sf $${file} $${f}; \ done ${INST_PROG} ${WRKSRC}/imapd/imapd ${PREFIX}/libexec ${INST_PROG} ${WRKSRC}/ipopd/ipop2d ${PREFIX}/libexec |