diff options
author | tron <tron> | 2008-04-01 13:46:13 +0000 |
---|---|---|
committer | tron <tron> | 2008-04-01 13:46:13 +0000 |
commit | 15a976a2326267ae411d03865fedcffb815fb746 (patch) | |
tree | 5fb04dc5bb6951edda369f3aa124c2a9f2ef9116 /x11/libX11 | |
parent | be6e9d51a794ce29ff14e8e397c2d1deef555b1f (diff) | |
download | pkgsrc-15a976a2326267ae411d03865fedcffb815fb746.tar.gz |
Initialize the prefix properly when we detect a builtin "libX11".
Diffstat (limited to 'x11/libX11')
-rw-r--r-- | x11/libX11/builtin.mk | 7 |
1 files changed, 6 insertions, 1 deletions
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 |