449e35070e
- remove LIBXAW variable. It is handled by buildlink3.mk now - simplify patches and Makefile in packages using libXaw - in some cases force use of Xaw3d (won't build with Xaw) - replace some directly included of x11/Xaw3d with mk/xaw.buildlink3.mk In next part: - replace more includes with mk/xaw.buildlink3.mk
31 lines
873 B
Makefile
31 lines
873 B
Makefile
# $NetBSD: buildlink3.mk,v 1.16 2013/01/15 16:21:36 morr Exp $
|
|
|
|
BUILDLINK_TREE+= neXtaw
|
|
|
|
.if !defined(NEXTAW_BUILDLINK3_MK)
|
|
NEXTAW_BUILDLINK3_MK:=
|
|
|
|
BUILDLINK_API_DEPENDS.neXtaw+= neXtaw>=0.15.1
|
|
BUILDLINK_ABI_DEPENDS.neXtaw+= neXtaw>=0.15.1nb2
|
|
BUILDLINK_PKGSRCDIR.neXtaw?= ../../x11/neXtaw
|
|
|
|
BUILDLINK_TRANSFORM+= l:Xaw:neXtaw
|
|
|
|
.include "../../mk/bsd.fast.prefs.mk"
|
|
|
|
.if ${X11_TYPE} == "modular"
|
|
.PHONY: buildlink-neXtaw-inc-hack
|
|
buildlink-neXtaw-cookie: buildlink-neXtaw-inc-hack
|
|
|
|
buildlink-neXtaw-inc-hack: buildlink-directories
|
|
[ ! -h ${BUILDLINK_DIR}/include/X11/Xaw ] && \
|
|
${MKDIR} ${BUILDLINK_DIR}/include/X11 && \
|
|
${LN} -s neXtaw ${BUILDLINK_DIR}/include/X11/Xaw
|
|
.endif
|
|
|
|
.include "../../x11/libXext/buildlink3.mk"
|
|
.include "../../x11/libXmu/buildlink3.mk"
|
|
.include "../../x11/libXt/buildlink3.mk"
|
|
.endif # NEXTAW_BUILDLINK3_MK
|
|
|
|
BUILDLINK_TREE+= -neXtaw
|