summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2004-01-21 07:54:50 +0000
committerjlam <jlam@pkgsrc.org>2004-01-21 07:54:50 +0000
commit77016371427f5e558f6c126a0f306b647a7c2ae5 (patch)
treefa4c416faf1e27fe1c90d7bccb757e454a32f437
parent9d494e0bf32c3d0a1472fcabe4b0afe2919b56cf (diff)
downloadpkgsrc-77016371427f5e558f6c126a0f306b647a7c2ae5.tar.gz
Rename 'submangle' to 'sub-mangle'
-rw-r--r--mk/buildlink3/bsd.buildlink3.mk12
-rw-r--r--mk/buildlink3/gen-transform.sh6
2 files changed, 9 insertions, 9 deletions
diff --git a/mk/buildlink3/bsd.buildlink3.mk b/mk/buildlink3/bsd.buildlink3.mk
index ae26178e139..b6eaf0267fd 100644
--- a/mk/buildlink3/bsd.buildlink3.mk
+++ b/mk/buildlink3/bsd.buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.buildlink3.mk,v 1.51 2004/01/21 07:37:32 jlam Exp $
+# $NetBSD: bsd.buildlink3.mk,v 1.52 2004/01/21 07:54:50 jlam Exp $
#
# An example package buildlink3.mk file:
#
@@ -728,8 +728,8 @@ _BLNK_TRANSFORM+= mangle:${_dir_}:${_BLNK_MANGLE_DIR.${_dir_}}
# Protect -I/usr/include/* and -L/usr/lib/* from transformations (these
# aren't part of the normal header or library search paths).
#
-_BLNK_TRANSFORM+= submangle:-I/usr/include:-I${_BLNK_MANGLE_DIR./usr/include}
-_BLNK_TRANSFORM+= submangle:-L/usr/lib:-L${_BLNK_MANGLE_DIR./usr/lib}
+_BLNK_TRANSFORM+= sub-mangle:-I/usr/include:-I${_BLNK_MANGLE_DIR./usr/include}
+_BLNK_TRANSFORM+= sub-mangle:-L/usr/lib:-L${_BLNK_MANGLE_DIR./usr/lib}
#
# Change any buildlink directories in runtime library search paths into
# the canonical actual installed paths.
@@ -786,11 +786,11 @@ _BLNK_TRANSFORM+= L:${LOCALBASE}:${_BLNK_MANGLE_DIR.${BUILDLINK_DIR}}
# Protect any remaining references to ${PREFIX}, ${LOCALBASE}, or ${X11BASE}.
#
.if ${PKG_INSTALLATION_TYPE} == "pkgviews"
-_BLNK_TRANSFORM+= untransform:submangle:${PREFIX}:${_BLNK_MANGLE_DIR.${PREFIX}}
+_BLNK_TRANSFORM+= untransform:sub-mangle:${PREFIX}:${_BLNK_MANGLE_DIR.${PREFIX}}
.endif
-_BLNK_TRANSFORM+= untransform:submangle:${LOCALBASE}:${_BLNK_MANGLE_DIR.${LOCALBASE}}
+_BLNK_TRANSFORM+= untransform:sub-mangle:${LOCALBASE}:${_BLNK_MANGLE_DIR.${LOCALBASE}}
.if defined(USE_X11)
-_BLNK_TRANSFORM+= untransform:submangle:${X11BASE}:${_BLNK_MANGLE_DIR.${X11BASE}}
+_BLNK_TRANSFORM+= untransform:sub-mangle:${X11BASE}:${_BLNK_MANGLE_DIR.${X11BASE}}
.endif
#
# Add any package specified transformations (l:, etc.)
diff --git a/mk/buildlink3/gen-transform.sh b/mk/buildlink3/gen-transform.sh
index f511d207921..36afeed1fd9 100644
--- a/mk/buildlink3/gen-transform.sh
+++ b/mk/buildlink3/gen-transform.sh
@@ -1,6 +1,6 @@
#!@BUILDLINK_SHELL@
#
-# $NetBSD: gen-transform.sh,v 1.15 2004/01/19 10:09:36 jlam Exp $
+# $NetBSD: gen-transform.sh,v 1.16 2004/01/21 07:54:50 jlam Exp $
transform="@_BLNK_TRANSFORM_SEDFILE@"
untransform="@_BLNK_UNTRANSFORM_SEDFILE@"
@@ -9,7 +9,7 @@ untransform="@_BLNK_UNTRANSFORM_SEDFILE@"
# equivalents:
#
# mangle:src:dst mangles the directory "src" into "dst"
-# submangle:src:dst mangles "src/*" into "dst/*"
+# sub-mangle:src:dst mangles "src/*" into "dst/*"
# rpath:src:dst translates the directory "src" into "dst"
# in rpath options
# abs-rpath removes all rpath options that try to add
@@ -64,7 +64,7 @@ EOF
;;
esac
;;
- submangle)
+ sub-mangle)
case "$action" in
transform|untransform)
@CAT@ >> $sedfile << EOF