Skip site navigation (1)Skip section navigation (2)
Date:      16 Dec 1998 21:41:17 -0000
From:      yds@dppl.com
To:        FreeBSD-gnats-submit@FreeBSD.ORG
Cc:        imap-uw@freebsd.ady.ro
Subject:   ports/9108: imap-uw: install mail.h rfc822.h linkage.h
Message-ID:  <19981216214117.21269.qmail@paris.dppl.com>

next in thread | raw e-mail | index | archive | help

>Number:         9108
>Category:       ports
>Synopsis:       imap-uw: install mail.h rfc822.h linkage.h
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:
>Keywords:
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Dec 16 13:50:01 PST 1998
>Last-Modified:
>Originator:     Yarema
>Organization:
>Release:        FreeBSD 3.0-CURRENT i386
>Environment:

	

>Description:

	Currently the imap-uw port builds libc-client4.so.4 but doesn't
install the required headers needed to link with the library. Examples of
programs which link to c-clinet are Perl's Mail::Cclient and PHP3 w/IMAP
enabled; pine uses it's own copy of c-client.

>How-To-Repeat:

	Look at the comments in imap-uw/Makefile (which my patch is deleting
since they will no longer be relevent)

>Fix:

diff -ruN imap-uw.old/Makefile imap-uw/Makefile
--- imap-uw.old/Makefile	Sat Nov 21 15:01:51 1998
+++ imap-uw/Makefile	Wed Dec 16 15:49:31 1998
@@ -32,14 +32,10 @@
 post-configure:
 	@${ECHO_MSG} ">> The c-client shared library will be named ${SHLIBNAME}"
 
-# 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!
-# Remark: only the shared library version is built now !
-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/mail.h ${PREFIX}/include
+	${INSTALL_DATA} ${WRKSRC}/c-client/rfc822.h ${PREFIX}/include
+	${INSTALL_DATA} ${WRKSRC}/c-client/linkage.h ${PREFIX}/include
 	${INSTALL} ${COPY} ${STRIP} -o ${LIBOWN} -g ${LIBGRP} -m ${LIBMODE} \
 		${WRKSRC}/c-client/${SHLIBNAME} ${PREFIX}/lib
 	${LN} -sf ${SHLIBNAME} ${PREFIX}/lib/lib${SHLIBBASE}.so
diff -ruN imap-uw.old/pkg/PLIST imap-uw/pkg/PLIST
--- imap-uw.old/pkg/PLIST	Sat Nov 21 15:01:56 1998
+++ imap-uw/pkg/PLIST	Wed Dec 16 15:50:29 1998
@@ -1,4 +1,7 @@
 bin/mboxtest
+include/mail.h
+include/rfc822.h
+include/linkage.h
 lib/%%SHLIBNAME%%
 lib/lib%%SHLIBBASE%%.so
 @exec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -m %B


>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19981216214117.21269.qmail>