Add a BUILDLINK_TARGETS so a symlink for old name render.pc is created.

This commit is contained in:
reed 2006-04-19 12:25:15 +00:00
parent b2cb858b9e
commit 01dfb8244a

View file

@ -1,4 +1,4 @@
# $NetBSD: builtin.mk,v 1.1.1.1 2006/04/18 17:16:06 reed Exp $ # $NetBSD: builtin.mk,v 1.2 2006/04/19 12:25:15 reed Exp $
BUILTIN_PKG:= renderproto BUILTIN_PKG:= renderproto
@ -85,3 +85,19 @@ BUILDLINK_PREFIX.renderproto= ${X11BASE}
. endif . endif
.endif # CHECK_BUILTIN.renderproto .endif # CHECK_BUILTIN.renderproto
CHECK_BUILTIN.renderproto?= no
.if !empty(CHECK_BUILTIN.renderproto:M[nN][oO])
# this is temporary and can be removed once not used
BUILDLINK_TARGETS+= render-symlink-pc
render-symlink-pc:
src=${BUILDLINK_PREFIX.renderproto}/lib/pkgconfig/renderproto.pc \
dst=${BUILDLINK_DIR}/lib/pkgconfig/render.pc; \
${MKDIR} ${BUILDLINK_DIR}/lib/pkgconfig; \
if ${TEST} -f $${src}; then \
${LN} -sf $${src} $${dst}; \
fi
.endif # CHECK_BUILTIN.renderproto