diff options
author | jlam <jlam@pkgsrc.org> | 2003-09-22 19:49:10 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2003-09-22 19:49:10 +0000 |
commit | 887c0518a184f894cc5eaba274a607027724e5a2 (patch) | |
tree | e3e5d0585845f71650f5bcc52e9c1d5fd7840f0d | |
parent | d89ddfd3a02dee2d0935ec1421bd5baba6ce6f94 (diff) | |
download | pkgsrc-887c0518a184f894cc5eaba274a607027724e5a2.tar.gz |
Fix buildlinking of files if BUILDLINK_TRANSFORM.<pkg> is specified.
-rw-r--r-- | mk/buildlink3/bsd.buildlink3.mk | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/mk/buildlink3/bsd.buildlink3.mk b/mk/buildlink3/bsd.buildlink3.mk index a1475cc2385..0ec46ff0832 100644 --- a/mk/buildlink3/bsd.buildlink3.mk +++ b/mk/buildlink3/bsd.buildlink3.mk @@ -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 @@ ${_BLNK_COOKIE.${_pkg_}}: ${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; \ |