From owner-freebsd-ports Mon Jan 17 23:17: 3 2000 Delivered-To: freebsd-ports@freebsd.org Received: from m0.cs.berkeley.edu (m0.CS.Berkeley.EDU [128.32.45.176]) by hub.freebsd.org (Postfix) with ESMTP id 5428114E22; Mon, 17 Jan 2000 23:17:00 -0800 (PST) (envelope-from asami@stampede.cs.berkeley.edu) Received: from silvia.hip.berkeley.edu (sji-ca7-245.ix.netcom.com [209.109.235.245]) by m0.cs.berkeley.edu (8.9.3/8.9.3) with ESMTP id XAA85318; Mon, 17 Jan 2000 23:16:39 -0800 (PST) (envelope-from asami@stampede.cs.berkeley.edu) Received: (from asami@localhost) by silvia.hip.berkeley.edu (8.9.3/8.6.9) id XAA05124; Mon, 17 Jan 2000 23:15:54 -0800 (PST) To: Kris Kennaway Cc: ports@freebsd.org Subject: Re: cvs commit: src/secure/lib/libcrypto Makefile.inc Makefile References: From: asami@freebsd.org (Satoshi - Ports Wraith - Asami) Date: 17 Jan 2000 23:15:50 -0800 In-Reply-To: Kris Kennaway's message of "Mon, 17 Jan 2000 14:43:22 -0800 (PST)" Message-ID: Lines: 27 X-Mailer: Gnus v5.7/Emacs 20.5 Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org * From: Kris Kennaway * > 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