diff options
author | markd <markd@pkgsrc.org> | 2016-06-09 02:38:34 +0000 |
---|---|---|
committer | markd <markd@pkgsrc.org> | 2016-06-09 02:38:34 +0000 |
commit | 611f4b127f79f17fb5d562e1447c0753025ed263 (patch) | |
tree | 01ee5f0d9da7b2eea2cfad3e96baf0dce9413011 | |
parent | 28c3c11880c80f21595b50c4b2ccc26c44d50128 (diff) | |
download | pkgsrc-611f4b127f79f17fb5d562e1447c0753025ed263.tar.gz |
In cwrappers case transform ${X11BASE} path after ${LOCALBASE} path
in case its a prefix of ${LOCALBASE}.
Fixes build of print/poppler-glib and others when using CWRAPPERS
on Linux with native X and ${X11BASE}=/usr
-rw-r--r-- | mk/buildlink3/bsd.buildlink3.mk | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/buildlink3/bsd.buildlink3.mk b/mk/buildlink3/bsd.buildlink3.mk index d4e77781e55..2265a75c3f1 100644 --- a/mk/buildlink3/bsd.buildlink3.mk +++ b/mk/buildlink3/bsd.buildlink3.mk @@ -1,4 +1,4 @@ -# $NetBSD: bsd.buildlink3.mk,v 1.237 2016/03/14 20:11:56 markd Exp $ +# $NetBSD: bsd.buildlink3.mk,v 1.238 2016/06/09 02:38:34 markd Exp $ # # Copyright (c) 2004 The NetBSD Foundation, Inc. # All rights reserved. @@ -998,11 +998,11 @@ _CWRAPPERS_TRANSFORM+= R:${_dir_}:${_dir_} # ${LOCALBASE} or ${X11BASE} into references into ${BUILDLINK_DIR}. # _BLNK_TRANSFORM+= P:${LOCALBASE}:${_BLNK_MANGLE_DIR.${BUILDLINK_DIR}} -_CWRAPPERS_TRANSFORM+= P:${X11BASE}:${BUILDLINK_X11_DIR} .if defined(USE_X11) && ${X11_TYPE} != "modular" _BLNK_TRANSFORM+= P:${X11BASE}:${_BLNK_MANGLE_DIR.${BUILDLINK_X11_DIR}} _CWRAPPERS_TRANSFORM+= P:${LOCALBASE}:${BUILDLINK_DIR} .endif +_CWRAPPERS_TRANSFORM+= P:${X11BASE}:${BUILDLINK_X11_DIR} # # Transform references to ${X11BASE} into ${BUILDLINK_X11_DIR}. # (do so before transforming references to ${LOCALBASE} unless the |