- -Supply the customary symlinks for NetBSD/ELF.
- -Make the "test" target work. - -Allow the user to set USE_RSAREF2. (It works!) Not sure why you'd ever want to...
This commit is contained in:
parent
b2f7b37890
commit
6ed737e35a
2 changed files with 15 additions and 5 deletions
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.32 2001/03/01 13:57:53 hubertf Exp $
|
||||
# $NetBSD: Makefile,v 1.33 2001/03/24 03:55:15 fredb Exp $
|
||||
#
|
||||
|
||||
DISTNAME= openssl-0.9.5a
|
||||
|
@ -14,7 +14,6 @@ CONFLICTS= SSLeay-* ssleay-* base64-*
|
|||
|
||||
CRYPTO= YES
|
||||
USE_PERL5= YES
|
||||
USE_RSAREF2= NO
|
||||
|
||||
# supplies IDEA/RC5
|
||||
LICENCE= fee-based-commercial-use
|
||||
|
@ -94,7 +93,13 @@ do-install:
|
|||
${INSTALL_DATA} ${WRKSRC}/apps/openssl.cnf ${PREFIX}/etc/openssl.cnf.example
|
||||
cd ${WRKSRC} && ${INSTALL_DATA} libcrypto.a libssl.a ${PREFIX}/lib/
|
||||
.if ${OPSYS} == "NetBSD"
|
||||
cd ${WRKSRC} && ${INSTALL_DATA} libcrypto.so.?.0 libssl.so.?.0 ${PREFIX}/lib/
|
||||
cd ${WRKSRC} && ${INSTALL_DATA} libcrypto.so.1.0 libssl.so.1.0 ${PREFIX}/lib/
|
||||
.if ${OBJECT_FMT} == "ELF"
|
||||
.for shared_lib in libcrypto.so.1.0 libssl.so.1.0
|
||||
cd ${PREFIX}/lib && ${LN} -s ${shared_lib} ${shared_lib:R} && \
|
||||
${LN} -s ${shared_lib} ${shared_lib:R:R}
|
||||
.endfor
|
||||
.endif
|
||||
.endif
|
||||
.if exists(/usr/bin/ranlib)
|
||||
/usr/bin/ranlib ${PREFIX}/lib/libcrypto.a
|
||||
|
@ -144,5 +149,6 @@ post-install:
|
|||
.include "../../mk/bsd.pkg.mk"
|
||||
|
||||
test: all
|
||||
@cd ${WRKSRC}/test && ${SETENV} LD_LIBRARY_PATH=${WRKSRC} ${MAKE} tests
|
||||
@cd ${WRKSRC}/test && ${SETENV} LD_LIBRARY_PATH=${WRKSRC} \
|
||||
MAKELIB=${FILESDIR}/makelib ${MAKE} tests
|
||||
@${ECHO} "*** Tests successful. ***"
|
||||
|
|
|
@ -1,3 +1,7 @@
|
|||
@comment $NetBSD: PLIST.netbsd,v 1.3 2001/01/23 20:55:21 dmcmahill Exp $
|
||||
@comment $NetBSD: PLIST.netbsd,v 1.4 2001/03/24 03:55:15 fredb Exp $
|
||||
lib/libcrypto.so
|
||||
lib/libcrypto.so.1
|
||||
lib/libcrypto.so.1.0
|
||||
lib/libssl.so
|
||||
lib/libssl.so.1
|
||||
lib/libssl.so.1.0
|
||||
|
|
Loading…
Reference in a new issue