pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mk/buildlink3 Fix buildlinking of files if BUILDLINK_T...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d42acd11a7fc
branches:  trunk
changeset: 461850:d42acd11a7fc
user:      jlam <jlam%pkgsrc.org@localhost>
date:      Mon Sep 22 19:49:10 2003 +0000

description:
Fix buildlinking of files if BUILDLINK_TRANSFORM.<pkg> is specified.

diffstat:

 mk/buildlink3/bsd.buildlink3.mk |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (22 lines):

diff -r 5808980947bf -r d42acd11a7fc mk/buildlink3/bsd.buildlink3.mk
--- a/mk/buildlink3/bsd.buildlink3.mk   Mon Sep 22 18:26:37 2003 +0000
+++ b/mk/buildlink3/bsd.buildlink3.mk   Mon Sep 22 19:49:10 2003 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.buildlink3.mk,v 1.15 2003/09/19 07:53:45 jlam Exp $
+# $NetBSD: bsd.buildlink3.mk,v 1.16 2003/09/22 19:49:10 jlam Exp $
 #
 # An example package buildlink3.mk file:
 #
@@ -400,10 +400,11 @@
                                ${ECHO} "$$src: not found" >> ${.TARGET}; \
                                continue;                               \
                        fi;                                             \
-                       if [ -z "${BUILDLINK_TRANSFORM.${_pkg_}}" ]; then \
+                       if [ -z "${BUILDLINK_TRANSFORM.${_pkg_}:Q}" ]; then \
                                dest="$$buildlink_dir/$$file";          \
                                msg="$$src";                            \
                        else                                            \
+                               dest="$$buildlink_dir/$$file";          \
                                dest=`${ECHO} $$dest | ${SED} ${BUILDLINK_TRANSFORM.${_pkg_}}`; \
                                msg="$$src -> $$dest";                  \
                        fi;                                             \



Home | Main Index | Thread Index | Old Index