Date: Tue, 21 Mar 2006 01:13:09 +0300 From: Boris Samorodov <bsam@ipt.ru> To: freebsd-emulation@FreeBSD.org Cc: jylefort@FreeBSD.org Subject: [patch] for bsd.linux-rpm.mk (generating auto-plist) Message-ID: <48803978@ho.ipt.ru>
next in thread | raw e-mail | index | archive | help
--=-=-= Hi! Both linux_base-8 port and linux_base-fc3 have not only @dirrm but also @dirrmtry commands at their pkg-plist files. Current version of bsd.linux-rpm.mk deals only with the first ones. The proposed uses both and hence generate a more accurate auto-plist file. CC: to jylefort@ as it was his original code to generate automatic plist files. Comments are welcome. WBR -- Boris B. Samorodov, Research Engineer InPharmTech Co, http://www.ipt.ru Telephone & Internet Service Provider --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=patch Content-Description: tiny patch for bsd.linux-rpm.mk --- bsd.linux-rpm.mk.orig Tue Mar 21 00:13:54 2006 +++ bsd.linux-rpm.mk Tue Mar 21 00:05:43 2006 @@ -123,7 +123,7 @@ @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 --=-=-=--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?48803978>