aboutsummaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2004-01-09 01:36:07 +0800
committerdinoex <dinoex@FreeBSD.org>2004-01-09 01:36:07 +0800
commit107c692a0ba4ad55f8a2e4c247d68b6ee340878a (patch)
treefc9b046250b8beec833d244e6113e0b763104fc7 /security
parent12e8a793e381dfabbc6a2478aaaf11674c7f705f (diff)
downloadfreebsd-ports-gnome-107c692a0ba4ad55f8a2e4c247d68b6ee340878a.tar.gz
freebsd-ports-gnome-107c692a0ba4ad55f8a2e4c247d68b6ee340878a.tar.zst
freebsd-ports-gnome-107c692a0ba4ad55f8a2e4c247d68b6ee340878a.zip
- Warn about conflict with /lib/libcrypto.so
Diffstat (limited to 'security')
-rw-r--r--security/openssl-beta/Makefile10
-rw-r--r--security/openssl/Makefile10
2 files changed, 20 insertions, 0 deletions
diff --git a/security/openssl-beta/Makefile b/security/openssl-beta/Makefile
index aa128d762118..3db3c2173dfa 100644
--- a/security/openssl-beta/Makefile
+++ b/security/openssl-beta/Makefile
@@ -850,6 +850,16 @@ INSTALLS_SHLIB= yes
.endif
.if defined(OPENSSL_OVERWRITE_BASE)
+.if exists(/lib/libcrypto.so)
+pre-everything::
+ @${ECHO_CMD} "#"
+ @${ECHO_CMD} "# this ports does not support the dynamic root"
+ @${ECHO_CMD} "# please undefine OPENSSL_OVERWRITE_BASE"
+ @${ECHO_CMD} "# and use WITH_OPENSSL_PORT=yes instead."
+ @${ECHO_CMD} "#"
+ @${FALSE}
+
+.endif
PKGNAMESUFFIX= -beta-overwrite-base
PREFIX= /usr
OPENSSLDIR= /etc/ssl
diff --git a/security/openssl/Makefile b/security/openssl/Makefile
index 402e7d85fa3b..b502e22bab66 100644
--- a/security/openssl/Makefile
+++ b/security/openssl/Makefile
@@ -834,6 +834,16 @@ INSTALLS_SHLIB= yes
.endif
.if defined(OPENSSL_OVERWRITE_BASE)
+.if exists(/lib/libcrypto.so)
+pre-everything::
+ @${ECHO_CMD} "#"
+ @${ECHO_CMD} "# this ports does not support the dynamic root"
+ @${ECHO_CMD} "# please undefine OPENSSL_OVERWRITE_BASE"
+ @${ECHO_CMD} "# and use WITH_OPENSSL_PORT=yes instead."
+ @${ECHO_CMD} "#"
+ @${FALSE}
+
+.endif
PKGNAMESUFFIX= -overwrite-base
PREFIX= /usr
OPENSSLDIR= /etc/ssl