diff options
author | hubertf <hubertf@pkgsrc.org> | 2001-03-27 03:19:43 +0000 |
---|---|---|
committer | hubertf <hubertf@pkgsrc.org> | 2001-03-27 03:19:43 +0000 |
commit | e32afb6fea693addf91cf6d2aebe68164062fc6c (patch) | |
tree | 387535a43617bd882ee1e20ce4779c6544f8925b /net/ppp-mppe | |
parent | d5f813f88b7e8fab565be817580917bc22dbdbec (diff) | |
download | pkgsrc-e32afb6fea693addf91cf6d2aebe68164062fc6c.tar.gz |
Change BUILD_DEPENDS semantics:
first component is now a package name+version/pattern, no more
executable/patchname/whatnot.
While there, introduce BUILD_USES_MSGFMT as shorthand to pull in
devel/gettext unless /usr/bin/msgfmt exists (i.e. on post-1.5 -current).
Patch by Alistair Crooks <agc@netbsd.org>
Diffstat (limited to 'net/ppp-mppe')
-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}" |