| Summary: | security/php4-openssl not compiling with OpenSSL _port_. | ||
|---|---|---|---|
| Product: | Ports & Packages | Reporter: | William Fletcher <ultraviolet> |
| Component: | Individual Port(s) | Assignee: | Alex Dupre <ale> |
| Status: | Closed FIXED | ||
| Severity: | Affects Only Me | ||
| Priority: | Normal | ||
| Version: | Latest | ||
| Hardware: | Any | ||
| OS: | Any | ||
|
Description
William Fletcher
2004-12-09 10:20:22 UTC
Responsible Changed From-To: freebsd-ports-bugs->ale Over to maintainer. Inspired by ports/73896, I came up with the following patch (the
solution there did not work for me).
I guess this will fix all "Compiler cannot create executables" problems
where only the OpenSSL library from the ports is available, although I
tested it with php4-openssl only.
--- Makefile.ext.orig Wed Jan 5 04:39:01 2005
+++ Makefile.ext Wed Jan 5 04:49:07 2005
@@ -181,7 +181,7 @@
CONFIGURE_ARGS+=--with-mcve=${LOCALBASE} \
--with-openssl-dir=${OPENSSLBASE}
-LDFLAGS+= -lcrypto -lssl
+LDFLAGS+= -L${OPENSSLLIB} -lcrypto -lssl
USE_OPENSSL= yes
.endif
@@ -230,7 +230,7 @@
CONFIGURE_ARGS+=--with-openssl=${OPENSSLBASE} \
--with-openssl-dir=${OPENSSLBASE}
-LDFLAGS+= -lcrypto -lssl
+LDFLAGS+= -L${OPENSSLLIB} -lcrypto -lssl
USE_OPENSSL= yes
.endif
@@ -295,7 +295,7 @@
--with-openssl-dir=${OPENSSLBASE} \
--enable-ucd-snmp-hack
-LDFLAGS+= -lcrypto -lssl
+LDFLAGS+= -L${OPENSSLLIB} -lcrypto -lssl
USE_OPENSSL= yes
OPTIONS= SNMP4 "Use old UCD SNMP instead of the new NET SNMP" off
State Changed From-To: open->closed Fixed, thanks! |