mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
ftp/php74-ftp: Fix Undefined symbol "SSL_library_init"
The ftp module always compiles against the base openssl, causes the error on FreeBSD 11.3. All other ports based on OpenSSL import the needed openssl from ports, if its not in base. Therefore we adjust the behaviour of the ftp module to match for example the imap module. PR: 241591 Submitted by: Pascal Christen <pascal.christen@hostpoint.ch>
This commit is contained in:
parent
4f3b22247a
commit
03f95e3a86
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=520745
2 changed files with 6 additions and 2 deletions
|
@ -1,5 +1,6 @@
|
|||
# $FreeBSD$
|
||||
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= ftp
|
||||
|
||||
MASTERDIR= ${.CURDIR}/../../lang/php74
|
||||
|
|
|
@ -93,8 +93,11 @@ CONFIGURE_ARGS+=--enable-filter \
|
|||
.endif
|
||||
|
||||
.if ${PHP_MODNAME} == "ftp"
|
||||
CONFIGURE_ARGS+=--enable-ftp \
|
||||
--with-openssl-dir=${OPENSSLBASE}
|
||||
CONFIGURE_ARGS+=--enable-ftp
|
||||
|
||||
CONFIGURE_ENV+= OPENSSL_CFLAGS="-I${OPENSSLINC}" \
|
||||
OPENSSL_LIBS="-L${OPENSSLLIB} -lssl -lcrypto" \
|
||||
PHP_OPENSSL=yes
|
||||
|
||||
LDFLAGS+= -L${OPENSSLLIB} -lcrypto -lssl
|
||||
USES+= ssl pkgconfig
|
||||
|
|
Loading…
Add table
Reference in a new issue