pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/x11/renderproto Add a BUILDLINK_TARGETS so a symlink f...
details: https://anonhg.NetBSD.org/pkgsrc/rev/b811388a7496
branches: trunk
changeset: 511678:b811388a7496
user: reed <reed%pkgsrc.org@localhost>
date: Wed Apr 19 12:25:15 2006 +0000
description:
Add a BUILDLINK_TARGETS so a symlink for old name render.pc is created.
diffstat:
x11/renderproto/builtin.mk | 18 +++++++++++++++++-
1 files changed, 17 insertions(+), 1 deletions(-)
diffs (29 lines):
diff -r 6a390aca3139 -r b811388a7496 x11/renderproto/builtin.mk
--- a/x11/renderproto/builtin.mk Wed Apr 19 12:23:29 2006 +0000
+++ b/x11/renderproto/builtin.mk Wed Apr 19 12:25:15 2006 +0000
@@ -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
@@ -85,3 +85,19 @@
. endif
.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
Home |
Main Index |
Thread Index |
Old Index