svn commit: r340618 - head/security/cryptlib

Mathieu Arnold mat at FreeBSD.org
Wed Jan 22 09:01:46 UTC 2014


+--On 22 janvier 2014 09:18:06 +0100 Alex Dupre <ale at FreeBSD.org> wrote:
| Alexey Dokuchaev ha scritto:
|>> +OPTIONS_DEFINE=		DOCS
|> 
|> Couple of observations. :)
|> 
|> OPTIONS are normally placed below all other knobs (traditionally).
| 
| Hmm, no :-)
| 
|>> +	${LN} -sf ${PREFIX}/lib/libcl.so.${PORTVERSION}
|>> ${STAGEDIR}${PREFIX}/lib/libcl.so.3 +	${LN} -sf
|>> ${PREFIX}/lib/libcl.so.3 ${STAGEDIR}${PREFIX}/lib/libcl.so
|> 
|> Per our own wiki.freebsd.org/ports/StageDir:
|> 
|>   "When creating a symlink, prepend ${STAGEDIR} to the target path only
|>   (and generally try to avoid using absolute paths in source). [...]
| 
| You are right here, but I didn't change the source. Improved.

Actually, it could have been only 

${LN} -sf libcl.so.${PORTVERSION} ${STAGEDIR}${PREFIX}/lib/libcl.so.3
${LN} -sf libcl.so.3 ${STAGEDIR}${PREFIX}/lib/libcl.so

They're in the same directory, the symlinks would resolve just fine.

-- 
Mathieu Arnold


More information about the svn-ports-all mailing list