pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/x11/fixesproto Add buildlink target so old pkg-config ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b9ae0980a045
branches:  trunk
changeset: 511647:b9ae0980a045
user:      reed <reed%pkgsrc.org@localhost>
date:      Tue Apr 18 18:03:22 2006 +0000

description:
Add buildlink target so old pkg-config name fixesext.pc will be available.

diffstat:

 x11/fixesproto/builtin.mk |  14 +++++++++++++-
 1 files changed, 13 insertions(+), 1 deletions(-)

diffs (25 lines):

diff -r 3404d89f5fc3 -r b9ae0980a045 x11/fixesproto/builtin.mk
--- a/x11/fixesproto/builtin.mk Tue Apr 18 17:46:01 2006 +0000
+++ b/x11/fixesproto/builtin.mk Tue Apr 18 18:03:22 2006 +0000
@@ -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 @@
 .  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



Home | Main Index | Thread Index | Old Index