diff options
author | grembo <grembo@FreeBSD.org> | 2015-04-14 05:47:09 +0800 |
---|---|---|
committer | grembo <grembo@FreeBSD.org> | 2015-04-14 05:47:09 +0800 |
commit | 7c59f65aae2ccb281571035782a58eff1006637d (patch) | |
tree | b610130905d6bcedc9f6fe162b6ba54d36717493 /Mk | |
parent | ebaaaaaa44d2af55583ffd3a4292865e599952f2 (diff) | |
download | freebsd-ports-gnome-7c59f65aae2ccb281571035782a58eff1006637d.tar.gz freebsd-ports-gnome-7c59f65aae2ccb281571035782a58eff1006637d.tar.zst freebsd-ports-gnome-7c59f65aae2ccb281571035782a58eff1006637d.zip |
Add OPENSSLRPATH to MAKE_ENV.
Also fix a few obvious spelling glitches.
Differential Revision: https://reviews.freebsd.org/D2171
Reviewed by: bapt
Approved by: bapt
Diffstat (limited to 'Mk')
-rw-r--r-- | Mk/bsd.openssl.mk | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/Mk/bsd.openssl.mk b/Mk/bsd.openssl.mk index 1ea3c6b395f4..72103758cf52 100644 --- a/Mk/bsd.openssl.mk +++ b/Mk/bsd.openssl.mk @@ -4,20 +4,20 @@ # # Use of 'USE_OPENSSL=yes' includes this Makefile after bsd.ports.pre.mk # -# the user/port can now set this options in the makefiles. +# The user/port can now set these options in the Makefiles. # # WITH_OPENSSL_BASE=yes - Use the version in the base system. -# WITH_OPENSSL_PORT=yes - Use the OpenSSL port, even if base is up to date +# WITH_OPENSSL_PORT=yes - Use the OpenSSL port, even if base is up to date. # # USE_OPENSSL_RPATH=yes - Pass RFLAGS options in CFLAGS, -# needed for ports who don't use LDFLAGS +# needed for ports who don't use LDFLAGS. # # Overrideable defaults: # # OPENSSL_SHLIBVER= 8 # OPENSSL_PORT= security/openssl # -# The makefile sets this variables: +# The Makefile sets these variables: # OPENSSLBASE - "/usr" or ${LOCALBASE} # OPENSSLDIR - path to openssl # OPENSSLLIB - path to the libs @@ -31,7 +31,7 @@ OpenSSL_Include_MAINTAINER= dinoex@FreeBSD.org -# if no preference was set, check for an installed base version +# If no preference was set, check for an installed base version # but give an installed port preference over it. .if !defined(WITH_OPENSSL_BASE) && \ !defined(WITH_OPENSSL_PORT) && \ @@ -46,8 +46,8 @@ OPENSSLDIR?= /etc/ssl .if !exists(${DESTDIR}/usr/lib/libcrypto.so) check-depends:: - @${ECHO_CMD} "Dependency error: this port requires the OpenSSL library, which is part of" - @${ECHO_CMD} "the FreeBSD crypto distribution but not installed on your" + @${ECHO_CMD} "Dependency error: This port requires the OpenSSL library, which is part of" + @${ECHO_CMD} "the FreeBSD crypto distribution, but not installed on your" @${ECHO_CMD} "machine. Please see the \"OpenSSL\" section in the handbook" @${ECHO_CMD} "(at \"http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/openssl.html\", for instance)" @${ECHO_CMD} "for instructions on how to obtain and install the FreeBSD" @@ -56,7 +56,7 @@ check-depends:: .endif .if exists(${LOCALBASE}/lib/libcrypto.so) check-depends:: - @${ECHO_CMD} "Dependency error: this port wants the OpenSSL library from the FreeBSD" + @${ECHO_CMD} "Dependency error: This port wants the OpenSSL library from the FreeBSD" @${ECHO_CMD} "base system. You can't build against it, while a newer" @${ECHO_CMD} "version is installed by a port." @${ECHO_CMD} "Please deinstall the port or undefine WITH_OPENSSL_BASE." @@ -133,7 +133,8 @@ OPENSSL_LDFLAGS+= -Wl,-rpath,${OPENSSLRPATH} LDFLAGS+=${OPENSSL_LDFLAGS} MAKE_ENV+= OPENSSLLIB=${OPENSSLLIB} OPENSSLINC=${OPENSSLINC} \ - OPENSSLBASE=${OPENSSLBASE} OPENSSLDIR=${OPENSSLDIR} + OPENSSLBASE=${OPENSSLBASE} OPENSSLDIR=${OPENSSLDIR} \ + OPENSSLRPATH=${OPENSSLRPATH} ### crypto #RESTRICTED= "Contains cryptography." |