diff options
Diffstat (limited to 'mk/x11.buildlink3.mk')
-rw-r--r-- | mk/x11.buildlink3.mk | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/mk/x11.buildlink3.mk b/mk/x11.buildlink3.mk index fce714be1cc..52c4c638522 100644 --- a/mk/x11.buildlink3.mk +++ b/mk/x11.buildlink3.mk @@ -1,4 +1,4 @@ -# $NetBSD: x11.buildlink3.mk,v 1.6 2006/11/17 09:50:54 rillig Exp $ +# $NetBSD: x11.buildlink3.mk,v 1.7 2006/12/01 13:05:53 joerg Exp $ # # This Makefile fragment is meant to be included by packages that # require an X11 distribution. x11.buildlink3.mk will include the @@ -7,7 +7,9 @@ X11_BUILDLINK3_MK:= ${X11_BUILDLINK3_MK}+ -.if ${X11_BUILDLINK3_MK} == "+" +.if !defined(_X11_BUILDLINK3_MK) +_X11_BUILDLINK3_MK= 1 + USE_X11= yes . include "../../mk/bsd.prefs.mk" @@ -32,7 +34,7 @@ CONFIGURE_ARGS+= --x-libraries=${X11BASE:Q}/lib${LIBABISUFFIX:Q} X11_LDFLAGS+= ${COMPILER_RPATH_FLAG}${X11BASE}/lib${LIBABISUFFIX} X11_LDFLAGS+= -L${X11BASE}/lib${LIBABISUFFIX} -.endif # X11_BUILDLINK3_MK +.endif # _X11_BUILDLINK3_MK .include "${X11_PKGSRCDIR.${X11_TYPE}}/buildlink3.mk" |