diff options
Diffstat (limited to 'net/ppp-mppe/Makefile')
-rw-r--r-- | net/ppp-mppe/Makefile | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/net/ppp-mppe/Makefile b/net/ppp-mppe/Makefile index e84286ed150..88482246dfc 100644 --- a/net/ppp-mppe/Makefile +++ b/net/ppp-mppe/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.6 2001/02/17 18:19:29 wiz Exp $ +# $NetBSD: Makefile,v 1.7 2001/03/27 03:20:11 hubertf Exp $ DISTNAME= ppp-2.3.9 PKGNAME= ppp-mppe-2.3.9 @@ -12,8 +12,6 @@ COMMENT= PPP daemon and LKM with MPPE - Microsoft Point-to-Point Encryption OPENSSL_VERS= 0.9.5a OPENSSL_SRC= ${BUILD_ROOT}/security/openssl/${WRKDIR:T}/openssl-${OPENSSL_VERS} -BUILD_DEPENDS= ${OPENSSL_SRC}/crypto/rc4:../../security/openssl:extract - HAS_CONFIGURE= yes MANCOMPRESSED_IF_MANZ= yes @@ -35,9 +33,18 @@ post-extract: @${CP} ${OPENSSL_SRC}/crypto/sha/sha_locl.h ${WRKSRC}/netbsd-1.4/sha_locl.h @${CP} ${OPENSSL_SRC}/crypto/sha/sha.h ${WRKSRC}/netbsd-1.4/sha.h + +pre-configure: + if [ ! -e ${OPENSSL_SRC}/crypto/rc4 ]; then \ + cd ../../security/openssl && ${MAKE} extract; \ + fi + pre-install: ${INSTALL_PROGRAM_DIR} ${PREFIX}/lkm +pre-clean: + cd ../../security/openssl && ${MAKE} clean + SYSDIR?= /sys MAKE_ENV+= SYSDIR="${SYSDIR}" |