freebsd-ports/mail/imap-uw/Makefile
Satoshi Asami 66557641c4 The previous commit broke this for a.out.
===
cc -fpic -DPIC -c -O -pipe -DNFSKLUDGE -DIGNORE_LOCK_EACCES_ERRORS  mx.c -o mx.so
ld -Bshareable -x -soname libc-client.so.2.1 -o libc-client.so.2.1 mail.so misc.so newsrc.so smanager.so osdep.so utf8.so siglocal.so dummy.so pseudo.so netmsg.so flstring.so fdstring.so rfc822.so nntp.so smtp.so imap4r1.so pop3.so unix.so mbox.so mbx.so mmdf.so tenex.so mtx.so news.so phile.so mh.so mx.so
ld: libc-client.so.2.1: No such file or directory
*** Error code 1

Stop.
1998-10-23 18:42:49 +00:00

56 lines
1.6 KiB
Makefile

# New ports collection makefile for: imap-uw
# Version required: 4.2
# Date created: 9 Jan 1997
# Whom: pst
#
# $Id: Makefile,v 1.19 1998/10/13 23:25:06 jseger Exp $
#
DISTNAME= imap-4.2
PKGNAME= imap-uw-4.2
CATEGORIES= mail
MASTER_SITES= ftp://ftp.cac.washington.edu/imap/old/ \
http://www.freebsd.org/~steve/
EXTRACT_SUFX= .tar.Z
MAINTAINER= imap-uw@freebsd.ady.ro
VERSION!= sysctl -n kern.osreldate
.if ${VERSION} < 300000
BROKEN= build
.endif
ALL_TARGET= bsf
MAN8= ipopd.8 imapd.8
#pre-build:
# @chmod 755 ${WRKSRC}/src/osdep/unix/drivers ${WRKSRC}/src/osdep/unix/mkauths
# this rule currently isn't called or used, because it's not sufficient to
# install just the .a file and mail.h, so we shouldn't install anything at all!
install-lib:
${INSTALL_DATA} ${WRKSRC}/c-clinet/mail.h ${PREFIX}/include
${INSTALL_DATA} ${WRKSRC}/c-client/c-client.a ${PREFIX}/lib/libc-client.a
do-install:
${INSTALL_DATA} ${WRKSRC}/c-client/${SHLIB} ${PREFIX}/lib
${LN} -sf ${SHLIB} ${PREFIX}/lib/libc-client.so
${INSTALL_PROGRAM} ${WRKSRC}/imapd/imapd ${PREFIX}/libexec
${INSTALL_PROGRAM} ${WRKSRC}/ipopd/ipop2d ${PREFIX}/libexec
${INSTALL_PROGRAM} ${WRKSRC}/ipopd/ipop3d ${PREFIX}/libexec
${INSTALL_PROGRAM} ${WRKSRC}/mtest/mtest ${PREFIX}/bin/mboxtest
${INSTALL_MAN} \
${WRKSRC}/src/imapd/imapd.8c ${PREFIX}/man/man8/imapd.8
${INSTALL_MAN} \
${WRKSRC}/src/ipopd/ipopd.8c ${PREFIX}/man/man8/ipopd.8
post-install:
${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib
.include <bsd.port.mk>
.if ${PORTOBJFORMAT} == "elf"
SHLIB= libc-client.so.2
.else
SHLIB= libc-client.so.2.1
.endif