diff options
Diffstat (limited to 'ports-mgmt/porttools/files/patch-util_diff.in')
-rw-r--r-- | ports-mgmt/porttools/files/patch-util_diff.in | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/ports-mgmt/porttools/files/patch-util_diff.in b/ports-mgmt/porttools/files/patch-util_diff.in new file mode 100644 index 000000000000..bfa8d3650480 --- /dev/null +++ b/ports-mgmt/porttools/files/patch-util_diff.in @@ -0,0 +1,18 @@ +--- util_diff.in.orig Sat Aug 7 06:10:14 2004 ++++ util_diff.in Sun Aug 8 16:26:26 2004 +@@ -70,10 +70,12 @@ + # -d <dir> have been specified + # it should be Ports tree location + CATEGORY="`make -V CATEGORIES | sed -E 's/^([^ ]+).*$/\1/'`" +- PKGNAMEPREFIX="`make -V PKGNAMEPREFIX`" ++ PYTHON_SUFFIX="`make -V PYTHON_SUFFIX`" ++ RUBY_SUFFIX="`make -V RUBY_SUFFIX`" ++ PKGNAMEPREFIX="`make -V PKGNAMEPREFIX | sed -E "s,py${PYTHON_SUFFIX}-,py-," | sed -E "s,ruby${RUBY_SUFFIX}-,ruby-,"`" + PKGNAMESUFFIX="`make -V PKGNAMESUFFIX`" +- PORTNAME="`make -V PORTNAME`" +- ORIG_DIR="${DIFF_MODE}/${CATEGORY}/${PKGNAMEPREFIX}${PORTNAME}${PKGNAMESUFFIX}" ++ PORTNAME="${PKGNAMEPREFIX}`make -V PORTNAME`${PKGNAMESUFFIX}" ++ ORIG_DIR="${DIFF_MODE}/${CATEGORY}/${PORTNAME}" + else + # -d <pattern> have been specified + # <pattern> is used to determine original port location |