Date: Sun, 2 Mar 2014 14:11:56 +0100 (CET) From: dinoex@FreeBSD.org To: dinoex@FreeBSD.org, martinp@tildeslash.com, dewayne@heuristicsystems.com.au, dinoex@FreeBSD.org, freebsd-ports-bugs@FreeBSD.org Subject: Re: ports/187076: PREFIX!=/usr/local prevents package build for security/openssl, sysutils/monit Message-ID: <201403021311.s22DBug0081367@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
Synopsis: PREFIX!=/usr/local prevents package build for security/openssl,sysutils/monit State-Changed-From-To: feedback->closed State-Changed-By: dinoex State-Changed-When: Sun Mar 2 14:09:58 CET 2014 State-Changed-Why: builds fine with non default PREFIX /usr/ports/current/openssl$ make package PREFIX=/usr/test The builds fails only when PREFIX=/usr: bsd.port.mk sets MANPREFIX .if ${PREFIX} == /usr MANPREFIX?= /usr/share .else MANPREFIX?= ${PREFIX} .endif With staging the manpages can not be found. If the port would use PREFIX instead of MANPREFIX the package wild build but the manpages wound not work. Before staging, the MAN* macros did handle that well. But PREFIX=/usr is not supported since FreeBSD 5.0 openssl in /usr will needs lots of changes to work. Normal PREFIX: /usr/lib/libssl.a /usr/lib/libssl.so /usr/lib/libssl.so.6 /usr/local/lib/libssl.a /usr/local/lib/libssl.so /usr/local/lib/libssl.so.8 /lib/libcrypto.so.6 /usr/lib/libcrypto.so /usr/local/lib/libcrypto.so /usr/local/lib/libcrypto.so.8 If you install with PREFIX=/usr, you will have incompatible versions of the openssl libs your system. as "/lib/libcrypto.so.6" is not updated. This will cause applications to fail. http://www.freebsd.org/cgi/query-pr.cgi?pr=187076
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201403021311.s22DBug0081367>