diff options
author | joerg <joerg@pkgsrc.org> | 2007-01-25 15:37:12 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2007-01-25 15:37:12 +0000 |
commit | cb3b0ff71b7542ca288ff948f6ac8ac01f52387d (patch) | |
tree | 612cd4f96fec88b377eb1f0ebccc8696d9fd126d /mk | |
parent | f56241df2aaa35487e03a2201e54f5ab996f7bbc (diff) | |
download | pkgsrc-cb3b0ff71b7542ca288ff948f6ac8ac01f52387d.tar.gz |
Absolute never use .x11-buildlink. Some cases get nasty to fix, so
back to this.
Diffstat (limited to 'mk')
-rw-r--r-- | mk/buildlink3/bsd.buildlink3.mk | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/mk/buildlink3/bsd.buildlink3.mk b/mk/buildlink3/bsd.buildlink3.mk index 6bda459761b..4472845b5ff 100644 --- a/mk/buildlink3/bsd.buildlink3.mk +++ b/mk/buildlink3/bsd.buildlink3.mk @@ -1,4 +1,4 @@ -# $NetBSD: bsd.buildlink3.mk,v 1.191 2007/01/17 03:11:19 rillig Exp $ +# $NetBSD: bsd.buildlink3.mk,v 1.192 2007/01/25 15:37:12 joerg Exp $ # # Copyright (c) 2004 The NetBSD Foundation, Inc. # All rights reserved. @@ -89,7 +89,11 @@ ECHO_BUILDLINK_MSG?= ${ECHO_WRAPPER_MSG} BUILDLINK_DIR= ${WRKDIR}/.buildlink BUILDLINK_BINDIR= ${BUILDLINK_DIR}/bin BUILDLINK_SRCDIR= ${.CURDIR}/../../mk/buildlink3 +.if ${X11_TYPE} == "modular" +BUILDLINK_X11_DIR= ${BUILDLINK_DIR} +.else BUILDLINK_X11_DIR= ${BUILDLINK_DIR:H}/.x11-buildlink +.endif .PHONY: do-buildlink |