summaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authorreed <reed@pkgsrc.org>2006-04-18 18:03:22 +0000
committerreed <reed@pkgsrc.org>2006-04-18 18:03:22 +0000
commitc0ca0cb59c3cea41f64ceae2af7f0717278b675c (patch)
tree77d0614020d3e2f079cdfc81558921069baf9e04 /x11
parentf0fc495a1c8808fc6194d88464ad30f800eeff5a (diff)
downloadpkgsrc-c0ca0cb59c3cea41f64ceae2af7f0717278b675c.tar.gz
Add buildlink target so old pkg-config name fixesext.pc will be available.
Diffstat (limited to 'x11')
-rw-r--r--x11/fixesproto/builtin.mk14
1 files changed, 13 insertions, 1 deletions
diff --git a/x11/fixesproto/builtin.mk b/x11/fixesproto/builtin.mk
index 996d6d3db67..2fcd1ae25a6 100644
--- a/x11/fixesproto/builtin.mk
+++ b/x11/fixesproto/builtin.mk
@@ -1,4 +1,4 @@
-# $NetBSD: builtin.mk,v 1.1.1.1 2006/04/18 17:13:35 reed Exp $
+# $NetBSD: builtin.mk,v 1.2 2006/04/18 18:03:22 reed Exp $
BUILTIN_PKG:= fixesproto
@@ -54,3 +54,15 @@ USE_BUILTIN.fixesproto!= \
. endif # PREFER.fixesproto
.endif
MAKEVARS+= USE_BUILTIN.fixesproto
+
+# following so old pkg-config name fixesext.pc will be available
+# this is temporary and can be removed once not used
+BUILDLINK_TARGETS+= fixesext-symlink-pc
+
+fixesext-symlink-pc:
+ src=${BUILDLINK_PREFIX.fixesproto}/lib/pkgconfig/fixesproto.pc \
+ dst=${BUILDLINK_DIR}/lib/pkgconfig/fixesext.pc; \
+ ${MKDIR} ${BUILDLINK_DIR}/lib/pkgconfig; \
+ if ${TEST} -f $${src}; then \
+ ${LN} -sf $${src} $${dst}; \
+ fi