1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-29 01:13:08 +00:00

Clean things up by using the new knob for OpenSSL usage.

Submitted by:	kris
This commit is contained in:
Brian Feldman 2000-02-12 23:55:48 +00:00
parent 5715b7d099
commit df4e9a1d72
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=25722
2 changed files with 7 additions and 11 deletions

View File

@ -14,7 +14,7 @@ MASTER_SITES= ftp://internat.FreeBSD.org/pub/Crypto/OpenSSH/
MAINTAINER= green@FreeBSD.org
LIB_DEPENDS= crypto.1:${PORTSDIR}/security/openssl
USE_OPENSSL= RSA
.include <bsd.port.pre.mk>
CAT?= /bin/cat
@ -29,13 +29,9 @@ SED?= /usr/bin/sed
CVS_DATE_!= ${ECHO} -n "${CVS_DATE}" | ${SED} 's/[ \t:]/_/g'
CVS_SITES= anoncvs@anoncvs1.ca.openbsd.org:/cvs \
:pserver:anoncvs@anoncvs1.usa.openbsd.org:/cvs
CRYPTOLIBS= -L${PREFIX}/lib -lcrypto
.ifdef USA_RESIDENT
.if ${USA_RESIDENT} == YES
CRYPTOLIBS+= -lRSAglue -lrsaref
.endif
.else
.error "USA_RESIDENT must be set to 'YES' or 'NO' correctly!"
CRYPTOLIBS= -L${OPENSSLLIB} -lcrypto
.if defined(OPENSSL_RSAREF)
CRYPTOLIBS+= -lRSAglue -L${LOCALBASE}/lib -lrsaref
.endif
# Here, MANDIR is concetenated to DESTDIR which all forms the man install dir...
MAKE_ENV= DESTDIR=${PREFIX} MANDIR=/man/man CRYPTOLIBS="${CRYPTOLIBS}"

View File

@ -1,5 +1,5 @@
--- Makefile.inc.orig Wed Feb 9 01:00:11 2000
+++ Makefile.inc Wed Feb 9 01:08:09 2000
--- Makefile.inc.orig Fri Feb 11 23:56:29 2000
+++ Makefile.inc Fri Feb 11 23:57:56 2000
@@ -2,10 +2,14 @@
.include <bsd.obj.mk>
@ -15,7 +15,7 @@
+TCP_WRAPPERS?= yes
+.if !defined(MAKEFILE_INC_FIRST_PASS)
+MAKEFILE_INC_FIRST_PASS= 0
+CFLAGS+= -I${PREFIX}/include ${INET6FLAGS}
+CFLAGS+= -I${OPENSSLINC} ${INET6FLAGS}
LDADD+= -L${.CURDIR}/../lib -lssh
DPADD+= ${.CURDIR}/../lib/libssh.a
.endif