Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 11 Sep 2005 02:10:16 +0200 (CEST)
From:      Marcin Wisnicki <mwisnicki+freebsd@gmail.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/85959: [MAINTAINER] polish/pl-kadu: fix build on 4.x and bump portrevision
Message-ID:  <200509110010.j8B0AG85043215@ghost.pnet.one.pl>
Resent-Message-ID: <200509110020.j8B0KCPk061997@freefall.freebsd.org>

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

>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:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sun Sep 11 00:20:12 GMT 2005
>Closed-Date:
>Last-Modified:
>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:
>Unformatted:



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