summaryrefslogtreecommitdiff
path: root/mail
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2001-02-12 03:31:34 +0000
committerjlam <jlam@pkgsrc.org>2001-02-12 03:31:34 +0000
commiteae08fc23f6f1c821de9836d644bad2b4411229e (patch)
treeb1c0ce2329e6fc653888fc4e88571e573c695da4 /mail
parent0384ee56748eaa490481d150d8cc3b1151a5d918 (diff)
downloadpkgsrc-eae08fc23f6f1c821de9836d644bad2b4411229e.tar.gz
Rename version from 2000c to 2000.0.3. Keeping the version number tied to
"2000" leaves dependencies on imap-uw unchanged. Also update to 2000.0.3nb1 as we now build a PIC static lib, libc-client_pic.a, used by php4-imap (I wish libtool automatically built this library, too...)
Diffstat (limited to 'mail')
-rw-r--r--mail/imap-uw/Makefile20
-rw-r--r--mail/imap-uw/pkg/PLIST3
2 files changed, 19 insertions, 4 deletions
diff --git a/mail/imap-uw/Makefile b/mail/imap-uw/Makefile
index 18f365ea88b..6bdd5202803 100644
--- a/mail/imap-uw/Makefile
+++ b/mail/imap-uw/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.25 2001/02/10 03:36:42 jlam Exp $
+# $NetBSD: Makefile,v 1.26 2001/02/12 03:31:34 jlam Exp $
DISTNAME= imap-2000c
-PKGNAME= imap-uw-2000c
+PKGNAME= imap-uw-2000.0.3nb1
CATEGORIES= mail
MASTER_SITES= ftp://ftp.cac.washington.edu/imap/
EXTRACT_SUFX= .tar.Z
@@ -41,6 +41,7 @@ CCLIENT_INCS= c-client.h env.h env_unix.h flstring.h fs.h ftl.h \
newsrc.h nl.h nntp.h osdep.h pop3.h rfc822.h smtp.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}
@@ -88,14 +89,27 @@ post-extract:
$${file} > $${f}; \
done
+post-build:
+ ${MKDIR} ${WRKDIR}/piclib
+ cd ${WRKDIR}/piclib; \
+ for file in ${WRKSRC}/c-client/*.lo; do \
+ base=`basename $${file} .lo`; \
+ ${LN} -sf $${file} $${base}.o; \
+ done; \
+ ${RM} -f ${CCLIENT_PICLIB}; \
+ ${AR} cru ${CCLIENT_PICLIB} *.o; \
+ ${RANLIB} ${CCLIENT_PICLIB}
+
do-install:
${INSTALL_DATA_DIR} ${INC_DIR}
cd ${WRKSRC}/c-client; ${INSTALL_DATA} ${CCLIENT_INCS} ${INC_DIR}
${INST_LIB} ${WRKSRC}/c-client/${CCLIENT_LIB} ${LIB_DIR}
- cd ${LIB_DIR}; for file in ${CCLIENT_LIBS}; 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}; \
done
+ ${INSTALL_DATA} ${WRKDIR}/piclib/${CCLIENT_PICLIB} ${LIB_DIR}
+ ${RANLIB} ${LIB_DIR}/${CCLIENT_PICLIB}
${INST_PROG} ${WRKSRC}/imapd/imapd ${PREFIX}/libexec
${INST_PROG} ${WRKSRC}/ipopd/ipop2d ${PREFIX}/libexec
${INST_PROG} ${WRKSRC}/ipopd/ipop3d ${PREFIX}/libexec
diff --git a/mail/imap-uw/pkg/PLIST b/mail/imap-uw/pkg/PLIST
index 5aca1ddf379..cca1f3d8f83 100644
--- a/mail/imap-uw/pkg/PLIST
+++ b/mail/imap-uw/pkg/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.10 2001/02/08 19:11:38 jlam Exp $
+@comment $NetBSD: PLIST,v 1.11 2001/02/12 03:31:35 jlam Exp $
include/c-client/c-client.h
include/c-client/env.h
include/c-client/env_unix.h
@@ -25,6 +25,7 @@ lib/libc-client.la
lib/libc-client.so
lib/libc-client.so.${CCLIENT_MAJOR}
lib/libc-client.so.${CCLIENT_MAJOR}.${CCLIENT_MINOR}
+lib/libc-client_pic.a
lib/libimapuw.a
lib/libimapuw.la
lib/libimapuw.so