summaryrefslogtreecommitdiff
path: root/security/php4-openssl/Makefile
blob: 6acf8d9609056689e436edead2328428aab8edb4 (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.5 2004/04/24 23:35:15 xtraeme Exp $

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

USE_BUILDLINK3=		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/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"