summaryrefslogtreecommitdiff
path: root/security/php4-openssl/Makefile
blob: 162afb95005d3fe9b8044d476cd78faff168dcaa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# $NetBSD: Makefile,v 1.4 2004/03/26 02:27:53 wiz Exp $

MODNAME=		openssl
PKGREVISION=		2
CATEGORIES+=		security
COMMENT=		PHP4 extension for the OpenSSL library

USE_BUILDLINK2=		YES

.include "../../www/php4/Makefile.module"

CONFIGURE_ARGS+=	--with-${MODNAME}=shared,${BUILDLINK_PREFIX.openssl}

# the config test for -lssl fails to link in -lcrypto; just force it
# to succeed
CONFIGURE_ENV+=		ac_cv_lib_ssl_SSL_CTX_set_ssl_version=yes

post-extract:
	cd ${WRKSRC} && ln -s config0.m4 config.m4

.include "../../security/openssl/buildlink2.mk"
.include "../../mk/bsd.pkg.mk"