guard build instructions with NO_WARNINGS flag
This commit is contained in:
parent
799e2a23b1
commit
ab857f7b33
@ -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
|
||||
|
@ -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
|
||||
#
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user