ports/122394: [patch] polish/libgadu fix for dependent polish/gnugadu2

Aleksander Fafula alex at BSDGuru.org
Thu Apr 3 00:40:02 UTC 2008


>Number:         122394
>Category:       ports
>Synopsis:       [patch] polish/libgadu fix for dependent polish/gnugadu2
>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:   Thu Apr 03 00:40:01 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Aleksander Fafula
>Release:        current
>Organization:
whatever
>Environment:
FreeBSD
>Description:
Gnugadu2 fails to compile after last libgadu change. They both use pkgconfig which does not like OpenSSL from basesystem. This patch contains the solution.

Previous PR that enabled OpenSSL support http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/121303 . Now we need to disable "Require: openssl" in ${PREFIX}/libdata/pkgconfig/libgadu.pc .
>How-To-Repeat:

>Fix:
Apply patch.

Patch attached with submission follows:

diff -ruN libgadu.orig/Makefile libgadu/Makefile
--- libgadu.orig/Makefile	2007-06-10 19:39:06.000000000 +0200
+++ libgadu/Makefile	2008-03-01 20:50:02.021347930 +0100
@@ -5,7 +5,7 @@
 # $FreeBSD: ports/polish/libgadu/Makefile,v 1.6 2007/06/10 17:39:06 itetcu Exp $
 
 PORTNAME=	libgadu
-PORTVERSION=	1.7.1
+PORTVERSION=	1.8.0
 PORTEPOCH=	1
 CATEGORIES=	polish net
 MASTER_SITES=	http://toxygen.net/libgadu/files/
@@ -19,8 +19,14 @@
 USE_GNOME=		gnomehack pkgconfig
 GNU_CONFIGURE=		yes
 
-CONFIGURE_ARGS=		--enable-shared --disable-static --without-openssl
+CONFIGURE_ARGS=		--enable-shared --disable-static
 
 USE_LDCONFIG=		yes
 
+OPTIONS=	OPENSSL "Build with OPENSSL support" on
+
+.if defined(WITHOUT_OPENSSL)
+CONFIGURE_ARGS+=	--without-openssl
+.endif
+
 .include <bsd.port.mk>
diff -ruN libgadu.orig/distinfo libgadu/distinfo
--- libgadu.orig/distinfo	2007-06-10 19:39:06.000000000 +0200
+++ libgadu/distinfo	2008-03-01 20:50:16.438175208 +0100
@@ -1,3 +1,3 @@
-MD5 (libgadu-1.7.1.tar.gz) = 5ceb20befbdfc50ddc9598d24ca3b400
-SHA256 (libgadu-1.7.1.tar.gz) = 8fc9635b4f0e637b5c79afe5fdca25e2916eb6949cf112ebff3b2269e02197f9
-SIZE (libgadu-1.7.1.tar.gz) = 388280
+MD5 (libgadu-1.8.0.tar.gz) = a5257e6f2cd5e309837f5fe567e9b94a
+SHA256 (libgadu-1.8.0.tar.gz) = 323f0be14dac4a5c2fc920404504912b7a24f0733aea47ea5f40897a3fc4ec7c
+SIZE (libgadu-1.8.0.tar.gz) = 408379


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list