aboutsummaryrefslogtreecommitdiffstats
path: root/security/openssl/Makefile
diff options
context:
space:
mode:
authordirk <dirk@FreeBSD.org>1999-11-08 06:19:49 +0800
committerdirk <dirk@FreeBSD.org>1999-11-08 06:19:49 +0800
commitdcd00432e99667e00b21b120336004cde4965e57 (patch)
tree97eb00bb20cd0862a42ca677504c355aa5657f44 /security/openssl/Makefile
parent05cb58b8412c82bb5c1048bd1f14bb12abe7fe85 (diff)
downloadfreebsd-ports-gnome-dcd00432e99667e00b21b120336004cde4965e57.tar.gz
freebsd-ports-gnome-dcd00432e99667e00b21b120336004cde4965e57.tar.zst
freebsd-ports-gnome-dcd00432e99667e00b21b120336004cde4965e57.zip
Build and install shared libraries libcrypto.so.1 and libssl.so.1, too.
Submitted by: Issei Suzuki <issei@jp.freebsd.org>
Diffstat (limited to 'security/openssl/Makefile')
-rw-r--r--security/openssl/Makefile10
1 files changed, 9 insertions, 1 deletions
diff --git a/security/openssl/Makefile b/security/openssl/Makefile
index 1c5467983ce6..ec5835514d83 100644
--- a/security/openssl/Makefile
+++ b/security/openssl/Makefile
@@ -7,7 +7,7 @@
#
DISTNAME= openssl-0.9.4
-CATEGORIES= security devel
+CATEGORIES= security devel
MASTER_SITES= http://www.openssl.org/source/ \
ftp://ftp.openssl.org/source/ \
ftp://ftp.sunet.se/pub/security/tools/net/openssl/source/ \
@@ -17,6 +17,9 @@ MAINTAINER= dirk@FreeBSD.org
RESTRICTED= "Cryptography"
USE_PERL5= yes
+ALL_TARGET= freebsd-shared all
+SHLIBVER= 1
+MAKE_ENV+= SHLIBVER=${SHLIBVER}
.if !defined(USA_RESIDENT) || ${USA_RESIDENT} != YES && ${USA_RESIDENT} != NO
pre-fetch:
@@ -39,6 +42,11 @@ do-configure:
${RSAREF} -L${PREFIX}/lib
post-install:
+.for i in libcrypto libssl
+ @${INSTALL_DATA} ${WRKSRC}/$i.so.${SHLIBVER} ${PREFIX}/lib
+ @${LN} -s $i.so.${SHLIBVER} ${PREFIX}/lib/$i.so
+.endfor
+ @${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib
.if !defined(NOPORTDOCS)
@${MKDIR} ${PREFIX}/share/doc/openssl
@${INSTALL_DATA} ${WRKSRC}/doc/* ${PREFIX}/share/doc/openssl