From owner-freebsd-current Sat Feb 19 19:20:47 2000 Delivered-To: freebsd-current@freebsd.org Received: from reyim.ne.mediaone.net (reyim.ne.mediaone.net [24.218.254.39]) by hub.freebsd.org (Postfix) with ESMTP id D2DE637BD56; Sat, 19 Feb 2000 19:20:34 -0800 (PST) (envelope-from bloom@reyim.ne.mediaone.net) Received: (from bloom@localhost) by reyim.ne.mediaone.net (8.9.3/8.9.3) id WAA38491; Sat, 19 Feb 2000 22:20:23 -0500 (EST) (envelope-from bloom) Date: Sat, 19 Feb 2000 22:20:23 -0500 (EST) From: Jim Bloom Message-Id: <200002200320.WAA38491@reyim.ne.mediaone.net> To: asami@freebsd.org, jkh@freebsd.org, kris@freebsd.org Subject: Fix for problems building openssl ports Cc: freebsd-current@freebsd.org Reply-To: bloom@acm.org Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I found the problem Jordan and Robert Watson were having building ports that require rsaref and openssl. The test for whether libcrypto was compiled with RSA was using shell syntax for executing the command and not make's syntax. The extra 'true' on the command is to silence make's warning about a non-zero exit status of the command. With the fix below, the error about RSA being required is now displayed at the correct time. This still does not solve the more fundamental problem of what gets distributed on the CD in terms openssl and RSA. Jim Bloom bloom@asm.org --- ports/Mk/bsd.port.mk.orig Sat Feb 19 21:51:49 2000 +++ ports/Mk/bsd.port.mk Sat Feb 19 22:00:39 2000 @@ -582,7 +582,7 @@ @${FALSE} .else .if ${USE_OPENSSL} == RSA -_HASRSA= "`/usr/bin/nm /usr/lib/libcrypto.a | /usr/bin/grep RSA_free`" +_HASRSA!= /usr/bin/nm /usr/lib/libcrypto.a | /usr/bin/grep RSA_free ; true .if empty(_HASRSA) .BEGIN: @${ECHO} "This port requires RSA crypto, which is not present in your" To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message