Bug 23588

Summary: Bug in mod_php4+PostgreSQL build when postgresql7+SSL enabled
Product: Ports & Packages Reporter: parag <parag>
Component: Individual Port(s)Assignee: dirk
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff
none
mod_php4.diff none

Description parag 2000-12-16 20:10:01 UTC
	If the postgresql7 port is built with its new SSL support turned
	on, and mod_php4's PostreSQL support is turned on, configure
	will fail because "-lssl -lcrypto" libraries are not on
	mod_php4's configure script's various link-lines.

Fix: My hack was to modify the configure script to add "-lssl
	-lcrypto" wherever "-lpq" was used.  I've added this to patch-aq
	below but I'm not sure it's the correct fix.  If PostreSQL is
	configured without SSL support, and the FreeBSD system does NOT
	have -lssl -lcrypto installed, it may fail to configure and build.


How-To-Repeat: 
	Install postgresql7 port with SSL turned on, then configure
	mod_php4 with PostreSQL support, and try "make".
Comment 1 Chris D.Faulhaber freebsd_committer freebsd_triage 2000-12-25 13:39:29 UTC
Responsible Changed
From-To: freebsd-ports->dirk

Over to maintainer
Comment 2 dirk freebsd_committer freebsd_triage 2000-12-27 14:01:03 UTC
Thanks for pointing out.

I'd like to solve this problem a little bit different. Please
habe a look at the attached patch and tell me if it works for you.

	Regards Dirk

-- 
Dirk Froemberg

FreeBSD: The Power to Serve!		http://www.FreeBSD.org/
Comment 3 dirk freebsd_committer freebsd_triage 2000-12-27 14:01:32 UTC
State Changed
From-To: open->feedback

Awaiting feedback.
Comment 4 dirk freebsd_committer freebsd_triage 2000-12-28 14:39:02 UTC
State Changed
From-To: feedback->closed

Fixed. Thanks!