diff options
author | obache <obache@pkgsrc.org> | 2013-04-28 13:43:55 +0000 |
---|---|---|
committer | obache <obache@pkgsrc.org> | 2013-04-28 13:43:55 +0000 |
commit | 21833d996a208120692518697b3b79a9275ea3c9 (patch) | |
tree | 566a212473483999a506c115f0a653bdd82c57ec /mk | |
parent | 34b65a30a4fbc543d52345feb7c67b0ef9253ebc (diff) | |
download | pkgsrc-21833d996a208120692518697b3b79a9275ea3c9.tar.gz |
Fixes builtin dl prefix other than /usr.
Diffstat (limited to 'mk')
-rw-r--r-- | mk/dlopen.builtin.mk | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/mk/dlopen.builtin.mk b/mk/dlopen.builtin.mk index 700966af07c..65f384cf7a8 100644 --- a/mk/dlopen.builtin.mk +++ b/mk/dlopen.builtin.mk @@ -1,4 +1,4 @@ -# $NetBSD: dlopen.builtin.mk,v 1.24 2012/05/04 08:31:14 obache Exp $ +# $NetBSD: dlopen.builtin.mk,v 1.25 2013/04/28 13:43:55 obache Exp $ BUILTIN_PKG:= dl @@ -86,8 +86,12 @@ 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/*) +. if empty(H_DL:M__nonexistent__) +. if !empty(H_DL:M/usr/*) BUILDLINK_PREFIX.dl= /usr +. else +BUILDLINK_PREFIX.dl= # empty +. endif . endif . if !empty(BUILTIN_LIB_FOUND.dl:M[yY][eE][sS]) # |