ports/69315: removing dependencies on openssl package (pkgconfig)

Jacek Pelka jacek at combit.com.pl
Mon Jul 19 22:20:17 UTC 2004


>Number:         69315
>Category:       ports
>Synopsis:       removing dependencies on openssl package (pkgconfig)
>Confidential:   no
>Severity:       non-critical
>Priority:       high
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jul 19 22:20:16 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Jacek Pelka
>Release:        FreeBSD 5.2-CURRENT i386
>Organization:
>Environment:
System: FreeBSD user14.215.udn.pl 5.2-CURRENT FreeBSD 5.2-CURRENT #1: Sat Jul 17 18:45:36 CEST 2004 root at user14.215.udn.pl:/usr/obj/usr/src/sys/ROKITA i386


	
>Description:
	Ekg depends on openssl. If there is no openssl package installed,
	openssl from base system is used. 
	Polish/gnugadu2 requires libgadu from ekg port. Maintainer of gnugadu2
	reports problem on updating this port:
	
	[...]
	Package openssl was not found in the pkg-config search path.
	Perhaps you should add the directory containing `openssl.pc'
	to the PKG_CONFIG_PATH environment variable
	Package 'openssl', required by 'libgadu', not found
	configure: error:
	[...]
	
	This patch removes pkgconfig style dependency on openssl package.
	
>How-To-Repeat:
	
>Fix:

	

--- ekg.diff begins here ---
diff -ruN ekg.orig/Makefile ekg/Makefile
--- ekg.orig/Makefile	Mon Jul  5 21:20:41 2004
+++ ekg/Makefile	Mon Jul 19 22:36:27 2004
@@ -6,6 +6,7 @@
 
 PORTNAME=		ekg
 PORTVERSION=		1.5
+PORTREVISION=		1
 PORTEPOCH=		1
 CATEGORIES=		polish net
 MASTER_SITES=		http://dev.null.pl/ekg/archive/
diff -ruN ekg.orig/files/patch-configure ekg/files/patch-configure
--- ekg.orig/files/patch-configure	Thu Jan  1 01:00:00 1970
+++ ekg/files/patch-configure	Mon Jul 19 21:48:17 2004
@@ -0,0 +1,10 @@
+--- configure	Mon Jun 28 22:13:05 2004
++++ configure	Sat Jul 17 10:12:27 2004
+@@ -4554,7 +4554,6 @@
+ 	LIBS_LIBGADU="$LIBS_LIBGADU $OPENSSL_LIBS"
+ 	CFLAGS="$CFLAGS $OPENSSL_INCLUDES"
+ 	CFLAGS_LIBGADU="$CFLAGS_LIBGADU $OPENSSL_INCLUDES"
+-	PC_REQUIRES="$PC_REQUIRES openssl"
+ 
+ 	sed 's/#undef __GG_LIBGADU_HAVE_OPENSSL/#define __GG_LIBGADU_HAVE_OPENSSL/' < lib/libgadu-config.h > lib/libgadu-config.h-
+ 	mv -f lib/libgadu-config.h- lib/libgadu-config.h
--- ekg.diff ends here ---


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



More information about the freebsd-ports-bugs mailing list