Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 29 Jun 2002 01:46:47 -0700 (PDT)
From:      KATO Tsuguru <tkato@prontomail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/39987: Update port: mail/althea 0.5.7
Message-ID:  <200206290846.g5T8klbt042130@www.freebsd.org>

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

>Number:         39987
>Category:       ports
>Synopsis:       Update port: mail/althea 0.5.7
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jun 29 01:50:04 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        4.6-RELEASE i386
>Organization:
>Environment:
>Description:
- Update to version 0.5.7

New file:
files/patch-SendMail.cpp

>How-To-Repeat:

>Fix:
diff -urN /usr/ports/mail/althea/Makefile mail/althea/Makefile
--- /usr/ports/mail/althea/Makefile	Mon Jun 24 19:12:25 2002
+++ mail/althea/Makefile	Mon Jun 24 20:16:38 2002
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	althea
-PORTVERSION=	0.5.5
+PORTVERSION=	0.5.7
 CATEGORIES=	mail
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
 MASTER_SITE_SUBDIR=	${PORTNAME}
@@ -15,17 +15,14 @@
 MAINTAINER=	ports@FreeBSD.org
 
 USE_REINPLACE=	yes
-REINPLACE_ARGS=	-i ""
 USE_GTK=	yes
 USE_OPENSSL=	yes
 MAKE_ENV=	MKDIR="${MKDIR}"
 MAKEFILE=	${FILESDIR}/Makefile.bsd
 
 post-patch:
-	@${REINPLACE_CMD} -e "s|/etc|${PREFIX}/etc|g" \
-		${WRKSRC}/Documentation/help.html \
-		${WRKSRC}/load_config.cpp \
-		${WRKSRC}/load_config.h \
-		${WRKSRC}/save_config.h
+.for file in Documentation/help.html load_config.h save_config.h
+	@${REINPLACE_CMD} -e 's|/etc|${PREFIX}/etc|g' ${WRKSRC}/${file}
+.endfor
 
 .include <bsd.port.mk>
diff -urN /usr/ports/mail/althea/distinfo mail/althea/distinfo
--- /usr/ports/mail/althea/distinfo	Sun Dec  9 07:12:12 2001
+++ mail/althea/distinfo	Mon Jun 24 20:13:54 2002
@@ -1 +1 @@
-MD5 (althea-0.5.5.tgz) = 779b2acd2b9337069cedc69e0d517e0d
+MD5 (althea-0.5.7.tgz) = ef84300c1f8a9e0d5d688b564c724e0e
diff -urN /usr/ports/mail/althea/files/Makefile.bsd mail/althea/files/Makefile.bsd
--- /usr/ports/mail/althea/files/Makefile.bsd	Mon Jan 21 20:29:03 2002
+++ mail/althea/files/Makefile.bsd	Mon Jun 24 20:53:21 2002
@@ -16,10 +16,10 @@
 CXXFLAGS+=-ftemplate-depth-30
 
 # Use the GTK's CFLAGS:
-CXXFLAGS+=`${GTK_CONFIG} --cflags` -I${OPENSSLINC}
+CXXFLAGS+=`${GTK_CONFIG} --cflags gthread` -I${OPENSSLINC}
 
 # Use the GTK's libraries:
-LDADD+=`${GTK_CONFIG} --libs` -L${OPENSSLLIB} -lssl -lcrypto
+LDADD+=`${GTK_CONFIG} --libs gthread` -L${OPENSSLLIB} -lssl -lcrypto
 
 # A hack to ensure C++ is called to do the final linking:
 CC:=	${CXX}
@@ -28,7 +28,7 @@
 	${MKDIR} $@
 
 beforeinstall: ${DOCDIR}/images ${PIXDIR}
-	${BSD_INSTALL_DATA} ${.CURDIR}/Documentation/*.* ${DOCDIR}
+	${BSD_INSTALL_DATA} ${.CURDIR}/Documentation/help.html ${DOCDIR}
 	${BSD_INSTALL_DATA} ${.CURDIR}/Documentation/images/*.* ${DOCDIR}/images
 	${BSD_INSTALL_DATA} ${.CURDIR}/pixmaps/*.* ${PIXDIR}
 	${BSD_INSTALL_DATA} ${.CURDIR}/althearc.example ${PREFIX}/etc/
diff -urN /usr/ports/mail/althea/files/patch-SendMail.cpp mail/althea/files/patch-SendMail.cpp
--- /usr/ports/mail/althea/files/patch-SendMail.cpp	Thu Jan  1 09:00:00 1970
+++ mail/althea/files/patch-SendMail.cpp	Mon Jun 24 21:01:35 2002
@@ -0,0 +1,10 @@
+--- SendMail.cpp.orig	Wed Jan 23 02:30:15 2002
++++ SendMail.cpp	Mon Jun 24 21:01:22 2002
+@@ -3,6 +3,7 @@
+ //  -- created 4/11/00  updated 4/11/00
+ /////////////////////////////////////////
+ 
++#include <pthread.h>
+ #include "SendMail.h"
+ 
+ extern Althea gAlthea;

>Release-Note:
>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?200206290846.g5T8klbt042130>