mirror of
https://git.freebsd.org/ports.git
synced 2025-07-01 17:40:40 -04:00
The changes in the patch files are almost the same as in Eugene's PR, although I arrived at them mostly independently :) Reformat all patch files now that I use quilt to manage them. Fix two complaints from portlint: needless use of CFLAGS and differentiation between NOPORTDOCS and NOPORTEXAMPLES. Thanks, Eugene! PR: 132358 Submitted by: Eygene Ryabinkin <rea-fbsd@codelabs.ru>
14 lines
467 B
Text
14 lines
467 B
Text
Do not needlessly add /usr/include and /usr/lib to the compiler and
|
|
linker flags if the base system OpenSSL is used.
|
|
|
|
--- a/configure
|
|
+++ b/configure
|
|
@@ -23435,7 +23435,7 @@
|
|
PKGTEST="no"
|
|
PREFIX_OPENSSL=$OPT_SSL
|
|
LIB_OPENSSL="$PREFIX_OPENSSL/lib$libsuff"
|
|
- if "$PREFIX_OPENSSL" != "/usr" ; then
|
|
+ if [ "$PREFIX_OPENSSL" != "/usr" ] ; then
|
|
LDFLAGS="$LDFLAGS -L$LIB_OPENSSL"
|
|
CPPFLAGS="$CPPFLAGS -I$PREFIX_OPENSSL/include"
|
|
fi
|