summaryrefslogtreecommitdiff
path: root/security/openssl
diff options
context:
space:
mode:
Diffstat (limited to 'security/openssl')
-rw-r--r--security/openssl/builtin.mk9
1 files changed, 7 insertions, 2 deletions
diff --git a/security/openssl/builtin.mk b/security/openssl/builtin.mk
index 10c2c1cad39..92fc36bd6ba 100644
--- a/security/openssl/builtin.mk
+++ b/security/openssl/builtin.mk
@@ -1,12 +1,14 @@
-# $NetBSD: builtin.mk,v 1.29 2010/07/04 16:33:25 obache Exp $
+# $NetBSD: builtin.mk,v 1.30 2011/10/04 14:15:35 hans Exp $
BUILTIN_PKG:= openssl
BUILTIN_FIND_LIBS:= des
BUILTIN_FIND_FILES_VAR:= H_OPENSSLCONF H_OPENSSLV
BUILTIN_FIND_FILES.H_OPENSSLCONF= /usr/include/openssl/opensslconf.h \
+ /usr/sfw/include/openssl/opensslconf.h \
/boot/common/include/openssl/opensslconf.h
BUILTIN_FIND_FILES.H_OPENSSLV= /usr/include/openssl/opensslv.h \
+ /usr/sfw/include/openssl/opensslv.h \
/boot/common/include/openssl/opensslv.h
.include "../../mk/buildlink3/bsd.builtin.mk"
@@ -158,7 +160,10 @@ CHECK_BUILTIN.openssl?= no
. if !empty(USE_BUILTIN.openssl:M[yY][eE][sS])
. if empty(H_OPENSSLV:M__nonexistent__)
-. if !empty(H_OPENSSLV:M/usr/*)
+. if !empty(H_OPENSSLV:M/usr/sfw/*)
+BUILDLINK_PREFIX.openssl= /usr/sfw
+BUILDLINK_PASSTHRU_DIRS+= /usr/sfw
+. elif !empty(H_OPENSSLV:M/usr/*)
BUILDLINK_PREFIX.openssl= /usr
. elif !empty(H_OPENSSLV:M/boot/common/*)
BUILDLINK_PREFIX.openssl= /boot/common