summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorobache <obache>2010-07-04 16:25:13 +0000
committerobache <obache>2010-07-04 16:25:13 +0000
commit9677cdce4512525551085b3ea4fa7ab132d8382f (patch)
tree1c7dd24e6935bca06093a1ada7074da2b6cfcd19 /mk
parent2cfe22d581a9b392206d4223a84d7655e10d51a3 (diff)
downloadpkgsrc-9677cdce4512525551085b3ea4fa7ab132d8382f.tar.gz
Add builtin support for Haiku.
Diffstat (limited to 'mk')
-rw-r--r--mk/dlopen.builtin.mk7
1 files changed, 5 insertions, 2 deletions
diff --git a/mk/dlopen.builtin.mk b/mk/dlopen.builtin.mk
index 0e894357cb8..00c8a0bbc58 100644
--- a/mk/dlopen.builtin.mk
+++ b/mk/dlopen.builtin.mk
@@ -1,11 +1,12 @@
-# $NetBSD: dlopen.builtin.mk,v 1.22 2010/06/17 18:09:40 drochner Exp $
+# $NetBSD: dlopen.builtin.mk,v 1.23 2010/07/04 16:25:13 obache Exp $
BUILTIN_PKG:= dl
BUILTIN_FIND_LIBS:= dl
BUILTIN_FIND_FILES_VAR:= H_DL
BUILTIN_FIND_FILES.H_DL= /usr/include/dlfcn.h \
- /opt/gcc.3.3/include/dlfcn.h
+ /opt/gcc.3.3/include/dlfcn.h \
+ /boot/develop/headers/posix/dlfcn.h
.include "../../mk/buildlink3/bsd.builtin.mk"
@@ -84,7 +85,9 @@ CHECK_BUILTIN.dl?= no
.if !empty(CHECK_BUILTIN.dl:M[nN][oO])
. if !empty(USE_BUILTIN.dl:M[yY][eE][sS])
+. if empty(H_DL:M__nonexistent__) && !empty(H_DL:M/usr/*)
BUILDLINK_PREFIX.dl= /usr
+. endif
. if !empty(BUILTIN_LIB_FOUND.dl:M[yY][eE][sS])
#
# No need to add this to BUILDLINK_LIBS.dl since most GNU configure