Use BUILDLINK_TRANSFORM instead of SUBST for neXtaw.

This commit is contained in:
Ryo ONODERA 2010-09-07 06:14:50 +00:00 committed by Thomas Klausner
parent 62cb928c9a
commit fa1c567a2a

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.6 2010/09/01 19:25:56 ryo-on Exp $
# $NetBSD: Makefile,v 1.7 2010/09/07 06:14:50 ryo-on Exp $
#
DISTNAME= xvkbd-3.2
@ -22,11 +22,7 @@ SUBST_MESSAGE.xaw= undefine Xaw3d
SUBST_FILES.xaw= Imakefile
SUBST_SED.xaw= -e 's,define XAW3D,undef XAW3D,g'
.elif ${XAW_TYPE} == "neXtaw"
SUBST_CLASSES+= neXtaw
SUBST_STAGE.neXtaw= pre-configure
SUBST_MESSAGE.neXtaw= using NeXtaw3d
SUBST_FILES.neXtaw= Imakefile
SUBST_SED.neXtaw= -e 's,-lXaw3d,-lneXtaw,g'
BUILDLINK_TRANSFORM+= l:Xaw3d:neXtaw
.endif
.include "../../x11/libXtst/buildlink3.mk"