This commit is contained in:
brad 1999-06-19 05:30:11 +00:00
parent e1ceb1fdd9
commit 7cf96acb64

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.6 1999/03/28 23:03:25 brad Exp $
# $OpenBSD: Makefile,v 1.7 1999/06/19 05:30:11 brad Exp $
DISTNAME= SSLeay-0.9.0b
CATEGORIES= security
@ -12,25 +12,6 @@ RESTRICTED= "Crypto; export-controlled"
MAINTAINER= dugsong@monkey.org
.if !defined(NO_WARNINGS)
fetch-depends:
.if !defined(USA_RESIDENT) || ${USA_RESIDENT} != YES && ${USA_RESIDENT} != NO
@${ECHO}
@${ECHO} You must set the variable USA_RESIDENT to YES if you are a USA
@${ECHO} resident or NO otherwise. USA residents must use the RSAREF2
@${ECHO} library to build this program \(RSA Inc. holds
@${ECHO} a patent on RSA in the USA - using RSA implementations
@${ECHO} other than RSAREF in the USA will violate the US patent\).
@${ECHO} the RSA algorithm and public key crypto in general - using RSA
@${ECHO} implementations other than RSAREF violate US patent law\).
@${ECHO} ""
@${ECHO} RSAREF2 will be automatically used to build this program when
@${ECHO} given the command \"make USA_RESIDENT=YES\"
@${ECHO} ""
@${FALSE}
.endif
.endif
HAS_CONFIGURE= yes
CONFIGURE_SCRIPT=Configure
@ -57,6 +38,25 @@ CONFIGURE_ARGS+= OpenBSD-be
ALL_TARGET= all test
fetch-depends:
.if !defined(NO_WARNINGS)
.if !defined(USA_RESIDENT) || ${USA_RESIDENT} != YES && ${USA_RESIDENT} != NO
@${ECHO}
@${ECHO} You must set the variable USA_RESIDENT to YES if you are a USA
@${ECHO} resident or NO otherwise. USA residents must use the RSAREF2
@${ECHO} library to build this program \(RSA Inc. holds
@${ECHO} a patent on RSA in the USA - using RSA implementations
@${ECHO} other than RSAREF in the USA will violate the US patent\).
@${ECHO} the RSA algorithm and public key crypto in general - using RSA
@${ECHO} implementations other than RSAREF violate US patent law\).
@${ECHO} ""
@${ECHO} RSAREF2 will be automatically used to build this program when
@${ECHO} given the command \"make USA_RESIDENT=YES\"
@${ECHO} ""
@${FALSE}
.endif
.endif
post-patch:
.if defined(USA_RESIDENT) && ${USA_RESIDENT} == YES
${PATCH} ${PATCH_DIST_ARGS} < ${FILESDIR}/rsaref.patch