ports/73896: fix php5-snmp if openssl is not in base
Oliver Lehmann
oliver at FreeBSD.org
Sat Nov 13 13:10:23 UTC 2004
>Number: 73896
>Category: ports
>Synopsis: fix php5-snmp if openssl is not in base
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: update
>Submitter-Id: current-users
>Arrival-Date: Sat Nov 13 13:10:23 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator: Oliver Lehmann
>Release: FreeBSD 4.10-STABLE i386
>Organization:
>Environment:
System: FreeBSD kartoffel.salatschuessel.net 4.10-STABLE FreeBSD 4.10-STABLE #0: Fri Jun 4 20:32:48 CEST 2004 olivleh1 at kartoffel.salatschuessel.net:/usr/obj/usr/src/sys/KARTOFFEL i386
>Description:
php5-snmp fails with:
checking for C compiler default output... configure: error: C compiler cannot create executables
config.log says, that it always uses -lssl - but no -L to determine where to search for libssl
>How-To-Repeat:
remove openssl from base, try to build php5-snmp
>Fix:
--- patch-net-mgmt::php5-snmp begins here ---
Index: Makefile
===================================================================
RCS file: /usr/local/cvsroot/ports/net-mgmt/php5-snmp/Makefile,v
retrieving revision 1.1
diff -u -r1.1 Makefile
--- Makefile 19 Jul 2004 09:18:03 -0000 1.1
+++ Makefile 13 Nov 2004 13:00:44 -0000
@@ -11,4 +11,7 @@
PKGNAMESUFFIX= -snmp
+USE_OPENSSL= yes
+CONFIGURE_ENV+= LIBS="${LIBS} -L${OPENSSLLIB}"
+
.include "${MASTERDIR}/Makefile"
--- patch-net-mgmt::php5-snmp ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list