aboutsummaryrefslogtreecommitdiffstats
path: root/Mk
diff options
context:
space:
mode:
authornetchild <netchild@FreeBSD.org>2006-06-08 02:47:40 +0800
committernetchild <netchild@FreeBSD.org>2006-06-08 02:47:40 +0800
commitee94613a021f763145449b3663c59556ef1e8d38 (patch)
tree20eb2632b6b51b6b31d2f7d5d32925dfba59109f /Mk
parent0fa84e5dc8da48d1c0db2bfb9dccadd8936b5602 (diff)
downloadfreebsd-ports-gnome-ee94613a021f763145449b3663c59556ef1e8d38.tar.gz
freebsd-ports-gnome-ee94613a021f763145449b3663c59556ef1e8d38.tar.zst
freebsd-ports-gnome-ee94613a021f763145449b3663c59556ef1e8d38.zip
When generating the automatic plist, also understand @dirrmtry when looking
up linux_base-X owned dirs. Submitted by: Boris Samorodov <bsam@ipt.ru>
Diffstat (limited to 'Mk')
-rw-r--r--Mk/bsd.linux-rpm.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/Mk/bsd.linux-rpm.mk b/Mk/bsd.linux-rpm.mk
index 1ac0164c54d6..ac55be12d17a 100644
--- a/Mk/bsd.linux-rpm.mk
+++ b/Mk/bsd.linux-rpm.mk
@@ -1,7 +1,7 @@
#-*- mode: Makefile; tab-width: 4; -*-
# ex:ts=4
#
-# $FreeBSD: /tmp/pcvs/ports/Mk/bsd.linux-rpm.mk,v 1.6 2006-05-20 15:54:24 netchild Exp $
+# $FreeBSD: /tmp/pcvs/ports/Mk/bsd.linux-rpm.mk,v 1.7 2006-06-07 18:47:40 netchild Exp $
#
# Variables:
@@ -127,7 +127,7 @@ linux-rpm-generate-plist:
@cd ${WRKSRC} && \
${FIND} * ! -type d | ${SORT} > ${PLIST} && \
${FIND} * -type d | ${SORT} | ${SED} -e 's|^|@dirrm |' > ${PLIST}.dirs
- @${GREP} '^@dirrm' ${PORTSDIR}/emulators/linux_base-${_LINUX_BASE_SUFFIX}/pkg-plist | ${SORT} > ${PLIST}.shared-dirs
+ @${GREP} '^@dirrm' ${PORTSDIR}/emulators/linux_base-${_LINUX_BASE_SUFFIX}/pkg-plist | ${SED} 's:^@dirrmtry:@dirrm:g' | ${SORT} > ${PLIST}.shared-dirs
@${COMM} -1 -3 ${PLIST}.shared-dirs ${PLIST}.dirs | ${SORT} -r >> ${PLIST}
. endif
. endif