From 15a976a2326267ae411d03865fedcffb815fb746 Mon Sep 17 00:00:00 2001 From: tron Date: Tue, 1 Apr 2008 13:46:13 +0000 Subject: Initialize the prefix properly when we detect a builtin "libX11". --- x11/libX11/builtin.mk | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'x11/libX11') diff --git a/x11/libX11/builtin.mk b/x11/libX11/builtin.mk index 5af6a8b3c7f..024567319e5 100644 --- a/x11/libX11/builtin.mk +++ b/x11/libX11/builtin.mk @@ -1,4 +1,4 @@ -# $NetBSD: builtin.mk,v 1.2 2007/12/15 15:26:15 tron Exp $ +# $NetBSD: builtin.mk,v 1.3 2008/04/01 13:46:13 tron Exp $ BUILTIN_PKG:= libX11 @@ -47,3 +47,8 @@ USE_BUILTIN.libX11!= \ . endif # PREFER.libX11 .endif MAKEVARS+= USE_BUILTIN.libX11 + +.if !empty(USE_BUILTIN.libX11:M[yY][eE][sS]) +BUILDLINK_PREFIX.libX11= ${X11BASE} +BUILDLINK_PASSTHRU_DIRS+= ${X11BASE}/include ${X11BASE}/lib +.endif -- cgit v1.2.3