Date: Mon, 23 Dec 2019 22:31:00 +0000 (UTC) From: Torsten Zuehlsdorff <tz@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r520745 - in head: ftp/php74-ftp lang/php74 Message-ID: <201912232231.xBNMV0lw099081@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: tz Date: Mon Dec 23 22:30:59 2019 New Revision: 520745 URL: https://svnweb.freebsd.org/changeset/ports/520745 Log: 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> Modified: head/ftp/php74-ftp/Makefile head/lang/php74/Makefile.ext Modified: head/ftp/php74-ftp/Makefile ============================================================================== --- head/ftp/php74-ftp/Makefile Mon Dec 23 22:27:46 2019 (r520744) +++ head/ftp/php74-ftp/Makefile Mon Dec 23 22:30:59 2019 (r520745) @@ -1,5 +1,6 @@ # $FreeBSD$ +PORTREVISION= 1 CATEGORIES= ftp MASTERDIR= ${.CURDIR}/../../lang/php74 Modified: head/lang/php74/Makefile.ext ============================================================================== --- head/lang/php74/Makefile.ext Mon Dec 23 22:27:46 2019 (r520744) +++ head/lang/php74/Makefile.ext Mon Dec 23 22:30:59 2019 (r520745) @@ -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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201912232231.xBNMV0lw099081>