Skip site navigation (1)Skip section navigation (2)
Date:      17 Jan 2000 23:15:50 -0800
From:      asami@freebsd.org (Satoshi - Ports Wraith - Asami)
To:        Kris Kennaway <kris@hub.freebsd.org>
Cc:        ports@freebsd.org
Subject:   Re: cvs commit: src/secure/lib/libcrypto Makefile.inc Makefile
Message-ID:  <vqc1z7f97fc.fsf@silvia.hip.berkeley.edu>
In-Reply-To: Kris Kennaway's message of "Mon, 17 Jan 2000 14:43:22 -0800 (PST)"
References:  <Pine.BSF.4.21.0001171441260.66827-100000@hub.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
 * From: Kris Kennaway <kris@hub.freebsd.org>

 * > Well, the whole point is to standardize it, ala Motif and perl.  Maybe
 * > we can pass OPENSSLINCLUDES and OPENSSLLIBS in CONFIGURE_ENV?  Can you
 * > come up with a list of pathnames that are used in openssl-requiring
 * > ports?
 * 
 * Well, the includes is /usr/include vs ${LOCALBASE}/include, and similarly
 * with the libs, except that librsaref is always under ${LOCALBASE}/lib.

So, something like

.if defined(USE_OPENSSL)
.if ${OSVERSION} < 400014
LIB_DEPENDS+=		ssl.1:${PORTSDIR}/security/openssl
OPENSSLINCLUDES=	${LOCALBASE}/include
OPENSSLLIBS=		${LOCALBASE}/lib
.else
OPENSSLINCLUDES=	/usr/include
OPENSSLLIBS=		/usr/lib
.endif
CONFIGURE_ARGS=		OPENSSLINCLUDES=${OPENSSLINCLUDES} OPENSSLLIBS=${OPENSSLLIBS}
.endif

would be ok?  Anything else?  Do we need the USA_RESIDENT test?

-PW


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?vqc1z7f97fc.fsf>