Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 19 Feb 2000 22:20:23 -0500 (EST)
From:      Jim Bloom <bloom@reyim.ne.mediaone.net>
To:        asami@freebsd.org, jkh@freebsd.org, kris@freebsd.org
Cc:        freebsd-current@freebsd.org
Subject:   Fix for problems building openssl ports
Message-ID:  <200002200320.WAA38491@reyim.ne.mediaone.net>

next in thread | raw e-mail | index | archive | help
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




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