From owner-freebsd-ports Wed Dec 16 13:50:01 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA18040 for freebsd-ports-outgoing; Wed, 16 Dec 1998 13:50:01 -0800 (PST) (envelope-from owner-freebsd-ports@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id NAA17987 for ; Wed, 16 Dec 1998 13:50:00 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: (from Unknown UID 563@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id NAA10508; Wed, 16 Dec 1998 13:50:01 -0800 (PST) Received: from paris.dppl.com (paris.dppl.com [205.230.74.150]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id NAA16514 for ; Wed, 16 Dec 1998 13:41:25 -0800 (PST) (envelope-from yds@dppl.com) Received: (qmail 21270 invoked by uid 1001); 16 Dec 1998 21:41:17 -0000 Message-Id: <19981216214117.21269.qmail@paris.dppl.com> Date: 16 Dec 1998 21:41:17 -0000 From: yds@dppl.com Reply-To: yds@dppl.com To: FreeBSD-gnats-submit@FreeBSD.ORG Cc: imap-uw@freebsd.ady.ro X-Send-Pr-Version: 3.2 Subject: ports/9108: imap-uw: install mail.h rfc822.h linkage.h Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >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