ports/114913: [UPDATE]mail/cclient. The problem with the assembly of some ports
viper
viper at perm.raid.ru
Wed Jul 25 20:40:02 UTC 2007
>Number: 114913
>Category: ports
>Synopsis: [UPDATE]mail/cclient. The problem with the assembly of some ports
>Confidential: no
>Severity: non-critical
>Priority: high
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: update
>Submitter-Id: current-users
>Arrival-Date: Wed Jul 25 20:40:01 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator: viper
>Release: STABLE6
>Organization:
>Environment:
FreeBSD xxxxxxx 6.2-STABLE FreeBSD 6.2-STABLE #0: Mon Jul 16 12:57:31 YEKST 2007 viper at xxxxxxx:/usr/obj/usr/src/sys/viper2 i386
>Description:
Some ports require unzipped source of cclient.
For example, one of the ports with such problem is the asterisk (configure --with-imap).
Copying some of the files in the include/cclient solves this problem by using standard tools.
These files are stored parameters with which compiles port
>How-To-Repeat:
Attempt to compile port asterisk with --with-imap
>Fix:
Aplly patch
Patch attached with submission follows:
diff -ruN cclient.orig/Makefile cclient/Makefile
--- cclient.orig/Makefile 2007-07-02 02:57:03.000000000 +0600
+++ cclient/Makefile 2007-07-26 00:43:36.000000000 +0600
@@ -7,7 +7,7 @@
PORTNAME= cclient
PORTVERSION= 2004g
-PORTEPOCH= 1
+PORTEPOCH= 2
CATEGORIES= mail devel ipv6
MASTER_SITES= ftp://ftp.cac.washington.edu/imap/%SUBDIR%/ \
http://atreides.freenix.no/~anders/%SUBDIR%/ \
@@ -91,6 +91,10 @@
${INSTALL_DATA} ${WRKSRC}/c-client/c-client.a \
${PREFIX}/lib/lib${SHLIBBASE}.a
+ ${INSTALL_DATA} ${WRKSRC}/c-client/CFLAGS ${PREFIX}/include/c-client
+ ${INSTALL_DATA} ${WRKSRC}/c-client/LDFLAGS ${PREFIX}/include/c-client
+ ${INSTALL_DATA} ${WRKSRC}/c-client/OSCFLAGS ${PREFIX}/include/c-client
+
post-install:
${INSTALL_DATA} ${PORTREV_H} ${PREFIX}/include/c-client
.if !defined(WITHOUT_SSL)
diff -ruN cclient.orig/pkg-plist cclient/pkg-plist
--- cclient.orig/pkg-plist 2004-06-04 20:21:47.000000000 +0600
+++ cclient/pkg-plist 2007-07-26 00:40:27.000000000 +0600
@@ -28,6 +28,9 @@
include/c-client/unix.h
include/c-client/utf8.h
include/c-client/portrevision.h
+include/c-client/CFLAGS
+include/c-client/LDFLAGS
+include/c-client/OSCFLAGS
lib/%%SHLIBNAME%%
lib/libc-client4.a
lib/libc-client4.so
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list