From ab857f7b33d0f364fb4b840bfafa6f6855beee59 Mon Sep 17 00:00:00 2001 From: marc Date: Wed, 16 Dec 1998 20:24:50 +0000 Subject: [PATCH] guard build instructions with NO_WARNINGS flag --- security/SSLeay/Makefile | 4 +++- security/pgp/Makefile | 6 ++++-- security/ssh/Makefile | 6 ++++-- 3 files changed, 11 insertions(+), 5 deletions(-) diff --git a/security/SSLeay/Makefile b/security/SSLeay/Makefile index 88f1876f851..f0c3693beea 100644 --- a/security/SSLeay/Makefile +++ b/security/SSLeay/Makefile @@ -3,7 +3,7 @@ # Date created: 1998-Jul-4 # Whom: dugsong@OpenBSD.ORG # -# $OpenBSD: Makefile,v 1.2 1998/08/28 23:00:43 deraadt Exp $ +# $OpenBSD: Makefile,v 1.3 1998/12/16 20:27:58 marc Exp $ # DISTNAME= SSLeay-0.8.1b @@ -16,6 +16,7 @@ RESTRICTED= "Crypto; export-controlled" MASTER_SITES= ftp://ftp.psy.uq.oz.au/pub/Crypto/SSL/ +.if !defined(NO_WARNINGS) fetch-depends: .if !defined(USA_RESIDENT) || ${USA_RESIDENT} != YES && ${USA_RESIDENT} != NO @${ECHO} @@ -32,6 +33,7 @@ fetch-depends: @${ECHO} "" @${FALSE} .endif +.endif post-patch: .if defined(USA_RESIDENT) && ${USA_RESIDENT} == YES diff --git a/security/pgp/Makefile b/security/pgp/Makefile index 7c83f3c4228..6b94b31243d 100644 --- a/security/pgp/Makefile +++ b/security/pgp/Makefile @@ -3,7 +3,7 @@ # Date created: 19 Mar 1998 # Whom: marc@OpenBSD.ORG # -# $OpenBSD: Makefile,v 1.5 1998/08/28 23:00:45 deraadt Exp $ +# $OpenBSD: Makefile,v 1.6 1998/12/16 20:29:54 marc Exp $ DISTNAME= pgp263is PKGNAME= pgp-2.6.3 @@ -21,7 +21,7 @@ WRKSRC= ${WRKDIR}/src # Need to add rsaref for US residents # -.if defined(USA_RESIDENT) && ${USA_RESIDENT} == YES +.if defined(NO_WARNINGS) || (defined(USA_RESIDENT) && ${USA_RESIDENT} == YES) MASTER_SITES= \ ftp://ftp.ifi.uio.no/pub/pgp/2.x/src/ \ ftp://ftp.dk.pgpi.com/mirrors/ftp.ifi.uio.no/pub/pgp/2.x/src/ \ @@ -32,6 +32,7 @@ DISTFILES= \ rsaref2.tar.gz .endif +.if !defined(NO_WARNINGS) fetch-depends: .if !defined(USA_RESIDENT) || ${USA_RESIDENT} != YES && ${USA_RESIDENT} != NO @${ECHO} @@ -46,6 +47,7 @@ fetch-depends: @${ECHO} "" @${FALSE} .endif +.endif # 2nd level extract required # diff --git a/security/ssh/Makefile b/security/ssh/Makefile index 451e70dd2cc..9bffe804c16 100644 --- a/security/ssh/Makefile +++ b/security/ssh/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.29 1998/12/03 18:24:35 marc Exp $ +# $OpenBSD: Makefile,v 1.30 1998/12/16 20:24:50 marc Exp $ # # Maximal ssh package requires YES values for # USE_PERL, USE_TCPWRAP @@ -15,7 +15,7 @@ MAINTAINER= todd@OpenBSD.ORG MASTER_SITES= ftp://ftp.funet.fi/pub/unix/security/login/ssh/ \ ftp://ftp.cs.hut.fi/pub/ssh/ -.if defined(USA_RESIDENT) && ${USA_RESIDENT} == YES +.if defined(NO_WARNINGS) || (defined(USA_RESIDENT) && ${USA_RESIDENT} == YES) DISTFILES= ${DISTNAME}.tar.gz rsaref2.tar.gz MASTER_SITES+= \ ftp://nic.funet.fi/pub/crypt/mirrors/ftp.dsi.unimi.it/applied-crypto/ \ @@ -75,6 +75,7 @@ post-patch: @${RM} ${PATCHDIR}/patch-rsaref2 .endif +.if !defined(NO_WARNINGS) fetch-depends: .if !defined(USA_RESIDENT) || ${USA_RESIDENT} != YES && ${USA_RESIDENT} != NO @${ECHO} @@ -89,6 +90,7 @@ fetch-depends: @${ECHO} "" @${FALSE} .endif +.endif post-extract: .if defined(USA_RESIDENT) && ${USA_RESIDENT} == YES