freebsd-ports/ftp/php74-ftp/Makefile
Torsten Zuehlsdorff 03f95e3a86 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>
2019-12-23 22:30:59 +00:00

17 lines
266 B
Makefile

# $FreeBSD$
PORTREVISION= 1
CATEGORIES= ftp
MASTERDIR= ${.CURDIR}/../../lang/php74
PKGNAMESUFFIX= -ftp
TEST_TARGET= test
post-patch:
@${REINPLACE_CMD} s/HAVE_OPENSSL_EXT/__FreeBSD__/ \
${WRKSRC}/ftp.* ${WRKSRC}/php_ftp.*
.include "${MASTERDIR}/Makefile"