From root@ghost.pnet.one.pl  Sun Sep 11 00:10:23 2005
Return-Path: <root@ghost.pnet.one.pl>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 0FF2116A41F
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 11 Sep 2005 00:10:23 +0000 (GMT)
	(envelope-from root@ghost.pnet.one.pl)
Received: from ghost.pnet.one.pl (xdsl-10260.wroclaw.dialog.net.pl [84.40.242.20])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 35ABE43D45
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 11 Sep 2005 00:10:21 +0000 (GMT)
	(envelope-from root@ghost.pnet.one.pl)
Received: from ghost.pnet.one.pl (smmsp@localhost [127.0.0.1])
	by ghost.pnet.one.pl (8.13.3/8.13.1) with ESMTP id j8B0AGIF043216
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 11 Sep 2005 02:10:16 +0200 (CEST)
	(envelope-from root@ghost.pnet.one.pl)
Received: (from root@localhost)
	by ghost.pnet.one.pl (8.13.3/8.13.1/Submit) id j8B0AG85043215;
	Sun, 11 Sep 2005 02:10:16 +0200 (CEST)
	(envelope-from root)
Message-Id: <200509110010.j8B0AG85043215@ghost.pnet.one.pl>
Date: Sun, 11 Sep 2005 02:10:16 +0200 (CEST)
From: Marcin Wisnicki <mwisnicki+freebsd@gmail.com>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: [MAINTAINER] polish/pl-kadu: fix build on 4.x and bump portrevision
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         85959
>Category:       ports
>Synopsis:       [MAINTAINER] polish/pl-kadu: fix build on 4.x and bump portrevision
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    lawrance
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sun Sep 11 00:20:12 GMT 2005
>Closed-Date:    Tue Sep 13 22:46:19 GMT 2005
>Last-Modified:  Tue Sep 13 22:46:19 GMT 2005
>Originator:     Marcin Wisnicki
>Release:        FreeBSD 5.4-STABLE i386
>Organization:
>Environment:
System: FreeBSD ghost.pnet.one.pl 5.4-STABLE FreeBSD 5.4-STABLE #0: Wed Aug 24 04:00:58 CEST 2005
>Description:
* fix the build on freebsd 4.x
* USE_OPENSSL
* increment PORTREVISION (forgot to do this in previous patch that changed plist)

Generated with FreeBSD Port Tools 0.63
>How-To-Repeat:
>Fix:

--- pl-kadu-0.4.1_1,1.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/polish/kadu.orig/Makefile /usr/ports/polish/kadu/Makefile
--- /usr/ports/polish/kadu.orig/Makefile	Mon Sep  5 06:05:11 2005
+++ /usr/ports/polish/kadu/Makefile	Sun Sep 11 01:28:02 2005
@@ -7,6 +7,7 @@
 
 PORTNAME=		kadu
 PORTVERSION=		0.4.1
+PORTREVISION=		1
 PORTEPOCH=		1
 CATEGORIES=		polish net
 MASTER_SITES=		http://www.kadu.net/download/stable/
@@ -20,12 +21,12 @@
 
 USE_BZIP2=		yes
 USE_GMAKE=		yes
+USE_OPENSSL=		yes
 GNU_CONFIGURE=		yes
 CONFIGURE_ARGS+=	--with-existing-libgadu \
 			--with-includes="${LOCALBASE}/include" \
 			--with-libs="${LOCALBASE}/lib" \
-			--program-transform-name=''\
-			--mandir=${PREFIX}/man
+			--program-transform-name=''
 CONFIGURE_ENV=		QTDIR="${QT_PREFIX}"
 
 USE_QT_VER=		3
@@ -34,6 +35,11 @@
 WRKSRC=			${WRKDIR}/${PORTNAME}
 
 .include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 500000
+post-patch:
+	@${ECHO} "MODULE_LDFLAGS=\"-lcrypto\"" >> ${WRKSRC}/modules/encryption/spec
+.endif
 
 post-install:
 	${MKDIR} ${X11BASE}/share/gnome/apps/Internet
--- pl-kadu-0.4.1_1,1.patch ends here ---

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->lawrance 
Responsible-Changed-By: lawrance 
Responsible-Changed-When: Sun Sep 11 10:50:56 GMT 2005 
Responsible-Changed-Why:  
Take 

http://www.freebsd.org/cgi/query-pr.cgi?pr=85959 

From: Marcin Wisnicki <mwisnicki@gmail.com>
To: mwisnicki+freebsd@gmail.com, bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/85959: [MAINTAINER] polish/pl-kadu: fix build on 4.x and
	bump portrevision
Date: Tue, 13 Sep 2005 16:50:52 +0200

 Please commit this.
 Thanks.
 
State-Changed-From-To: open->closed 
State-Changed-By: lawrance 
State-Changed-When: Tue Sep 13 22:45:43 GMT 2005 
State-Changed-Why:  
Committed, thanks! (no portrevision bump needed, though) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=85959 
>Unformatted:
