diff options
author | jlam <jlam@pkgsrc.org> | 2000-09-09 02:51:40 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2000-09-09 02:51:40 +0000 |
commit | 95cd526b745fba714fd3b1f372088b3c1bafed17 (patch) | |
tree | 3325e3b72a3d652c363b249fa0ab606545ff6eda /net/ppp-mppe | |
parent | 020f9a5d5c61813816d41adf2fb40129df3cde22 (diff) | |
download | pkgsrc-95cd526b745fba714fd3b1f372088b3c1bafed17.tar.gz |
Add link to openssl headers directory to ${WRKSRC}/pppd/openssl as some of
the copied sources reference <openssl/*> headers.
Also, simplify the Makefile to be more readable.
Addresses pkg/9809.
Diffstat (limited to 'net/ppp-mppe')
-rw-r--r-- | net/ppp-mppe/Makefile | 40 |
1 files changed, 21 insertions, 19 deletions
diff --git a/net/ppp-mppe/Makefile b/net/ppp-mppe/Makefile index cf00fb76ea7..24a240a4db7 100644 --- a/net/ppp-mppe/Makefile +++ b/net/ppp-mppe/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.3 2000/09/02 19:45:19 wiz Exp $ +# $NetBSD: Makefile,v 1.4 2000/09/09 02:51:40 jlam Exp $ DISTNAME= ppp-2.3.9 PKGNAME= ppp-mppe-2.3.9 @@ -8,36 +8,38 @@ MASTER_SITES= ftp://cs.anu.edu.au/pub/software/ppp/ MAINTAINER= dbj@netbsd.org HOMEPAGE= http://www.moretonbay.com/vpn/releases/ -OPENSSL_VER= 0.9.5a +OPENSSL_VERS= 0.9.5a +OPENSSL_SRC= ${BUILD_ROOT}/security/openssl/${WRKDIR:T}/openssl-${OPENSSL_VERS} -BUILD_DEPENDS= ${BUILD_ROOT}/security/openssl/${WRKDIR:T}/openssl-${OPENSSL_VER}/crypto/rc4:../../security/openssl:extract +BUILD_DEPENDS= ${OPENSSL_SRC}/crypto/rc4:../../security/openssl:extract HAS_CONFIGURE= yes MANCOMPRESSED_IF_MANZ= yes + post-extract: - @${MKDIR} ${WRKSRC}/netbsd-1.4 - @${CP} ${BUILD_ROOT}/security/openssl/${WRKDIR:T}/openssl-${OPENSSL_VER}/crypto/md32_common.h ${WRKSRC}/pppd/md32_common.h - @${CP} ${BUILD_ROOT}/security/openssl/${WRKDIR:T}/openssl-${OPENSSL_VER}/crypto/sha/sha.h ${WRKSRC}/pppd/sha.h - @${CP} ${BUILD_ROOT}/security/openssl/${WRKDIR:T}/openssl-${OPENSSL_VER}/crypto/sha/sha1dgst.c ${WRKSRC}/pppd/sha1dgst.c - @${CP} ${BUILD_ROOT}/security/openssl/${WRKDIR:T}/openssl-${OPENSSL_VER}/crypto/sha/sha_locl.h ${WRKSRC}/pppd/sha_locl.h - @${CP} ${BUILD_ROOT}/security/openssl/${WRKDIR:T}/openssl-${OPENSSL_VER}/crypto/opensslv.h ${WRKSRC}/pppd/opensslv.h - @${CP} ${BUILD_ROOT}/security/openssl/${WRKDIR:T}/openssl-${OPENSSL_VER}/crypto/rc4/rc4_skey.c ${WRKSRC}/netbsd-1.4/rc4_skey.c - @${CP} ${BUILD_ROOT}/security/openssl/${WRKDIR:T}/openssl-${OPENSSL_VER}/crypto/rc4/rc4.h ${WRKSRC}/netbsd-1.4/rc4.h - @${CP} ${BUILD_ROOT}/security/openssl/${WRKDIR:T}/openssl-${OPENSSL_VER}/crypto/rc4/rc4_locl.h ${WRKSRC}/netbsd-1.4/rc4_locl.h - @${CP} ${BUILD_ROOT}/security/openssl/${WRKDIR:T}/openssl-${OPENSSL_VER}/crypto/rc4/rc4_enc.c ${WRKSRC}/netbsd-1.4/rc4_enc.c - @${CP} ${BUILD_ROOT}/security/openssl/${WRKDIR:T}/openssl-${OPENSSL_VER}/crypto/opensslv.h ${WRKSRC}/netbsd-1.4/opensslv.h - @${CP} ${BUILD_ROOT}/security/openssl/${WRKDIR:T}/openssl-${OPENSSL_VER}/crypto/sha/sha1dgst.c ${WRKSRC}/netbsd-1.4/sha1dgst.c - @${CP} ${BUILD_ROOT}/security/openssl/${WRKDIR:T}/openssl-${OPENSSL_VER}/crypto/sha/sha_locl.h ${WRKSRC}/netbsd-1.4/sha_locl.h - @${CP} ${BUILD_ROOT}/security/openssl/${WRKDIR:T}/openssl-${OPENSSL_VER}/crypto/sha/sha.h ${WRKSRC}/netbsd-1.4/sha.h + @${LN} -sf ${OPENSSL_SRC}/include/openssl ${WRKSRC}/pppd/openssl + @${CP} ${OPENSSL_SRC}/crypto/md32_common.h ${WRKSRC}/pppd/md32_common.h + @${CP} ${OPENSSL_SRC}/crypto/sha/sha.h ${WRKSRC}/pppd/sha.h + @${CP} ${OPENSSL_SRC}/crypto/sha/sha1dgst.c ${WRKSRC}/pppd/sha1dgst.c + @${CP} ${OPENSSL_SRC}/crypto/sha/sha_locl.h ${WRKSRC}/pppd/sha_locl.h @${MV} ${WRKSRC}/pppd/md4.h ${WRKSRC}/pppd/md4.h.hide @${MV} ${WRKSRC}/pppd/md5.h ${WRKSRC}/pppd/md5.h.hide + @${MKDIR} ${WRKSRC}/netbsd-1.4 + @${CP} ${OPENSSL_SRC}/crypto/rc4/rc4_skey.c ${WRKSRC}/netbsd-1.4/rc4_skey.c + @${CP} ${OPENSSL_SRC}/crypto/rc4/rc4.h ${WRKSRC}/netbsd-1.4/rc4.h + @${CP} ${OPENSSL_SRC}/crypto/rc4/rc4_locl.h ${WRKSRC}/netbsd-1.4/rc4_locl.h + @${CP} ${OPENSSL_SRC}/crypto/rc4/rc4_enc.c ${WRKSRC}/netbsd-1.4/rc4_enc.c + @${CP} ${OPENSSL_SRC}/crypto/sha/sha1dgst.c ${WRKSRC}/netbsd-1.4/sha1dgst.c + @${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-install: ${INSTALL_PROGRAM_DIR} ${PREFIX}/lkm -SYSDIR?=/sys -MAKE_ENV+= SYSDIR="${SYSDIR}" +SYSDIR?= /sys +MAKE_ENV+= SYSDIR="${SYSDIR}" # until PR 5377 is addressed, we need kernel src around to build lkm's pre-build: |