Date: Mon, 18 Feb 2008 23:34:42 GMT From: Adam Pordzik <adampordzik@gmx.de> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/120829: bsd.openssl.mk doesn't honour (WITH|USE)_OPENSSL_BASE correctly (faced with postgres) Message-ID: <200802182334.m1INYgGU038540@www.freebsd.org> Resent-Message-ID: <200802182340.m1INe4GV018070@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 120829 >Category: ports >Synopsis: bsd.openssl.mk doesn't honour (WITH|USE)_OPENSSL_BASE correctly (faced with postgres) >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Feb 18 23:40:03 UTC 2008 >Closed-Date: >Last-Modified: >Originator: Adam Pordzik >Release: RELENG_6 >Organization: >Environment: FreeBSD brain.lan.d-dt.de 6.3-STABLE FreeBSD 6.3-STABLE #2: Sat Jan 19 02:53:24 CET 2008 root@brain.lan.d-dt.de:/data/build/obj/data/build/src/sys/GENERIC i386 >Description: Building databases/postgresNN with openssl from ports installed leads to: Dependency error: this port wants the OpenSSL library from the FreeBSD base system. You can't build against it, while a newer version is installed by a port. Please deinstall the port or undefine WITH_OPENSSL_BASE. *** Error code 1 Stop in /usr/ports/databases/postgresql83-client. *** Error code 1 Stop in /usr/ports/databases/postgresql83-client. Yes, WITH_OPENSSL_BASE is defined in make.conf. USE_OPENSSL_BASE ends in the same result. Since I only use OpenSSL from ports only for certification purposes, I do not want to link other ports against it to keep dependencies simple. I does not matter whether OpenSSL-DESTDIR points to /usr/local or /something/else. >How-To-Repeat: Repeat the above. But facing no Problems with e.g. cyrus-sasl2 build. >Fix: Dont really know: bsd.openssl.mk asks for: .if defined(WITH_OPENSSL_BASE) and right after for: .if !exists(${DESTDIR}/usr/lib/libcrypto.so) # error comes here I don't think one should check for libXXX in LOCALBASE if I explicitly declined this. But I'm bemused, since it (during postgres build) asks for libs in DESTDIR, but openssl is installed under /some/other/dir. >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200802182334.m1INYgGU038540>