freebsd-ports/sysutils/heirloom/files/patch-makefile
Martin Wilke eb20619816 - Update to 070227
PR:             110986
Submitted by:   trasz
2007-03-28 21:54:41 +00:00

11 lines
1,021 B
Text

--- makefile.orig Tue Feb 27 00:03:01 2007
+++ makefile Wed Mar 28 11:02:49 2007
@@ -70,7 +70,7 @@
cpio -pdm $(PKGROOT)/usr/share/doc/heirloom
rm -f $(PKGPROTO)
echo 'i pkginfo' >$(PKGPROTO)
- (cd $(PKGROOT) && find . -print | pkgproto) | >>$(PKGPROTO) sed 's:^\([df] [^ ]* [^ ]* [^ ]*\) .*:\1 root root:; s:^\(f [^ ]* [^ ]*/ps \).*:\14755 root root:; s:^\(f [^ ]* [^ ]*/shl \).*:\12755 root adm:; s:^\(f [^ ]* [^ ]*/su \).*:\14755 root root:; s:^f\( [^ ]* etc/\):v \1:; s:^f\( [^ ]* var/\):v \1:; s:^\(s [^ ]* [^ ]*=\)\([^/]\):\1./\2:'
+ (cd $(PKGROOT) && find . -print | pkgproto) | >>$(PKGPROTO) sed "s:^\([df] [^ ]* [^ ]* [^ ]*\) .*:\1 root root:; s:^\(f [^ ]* [^ ]*/ps \).*:\14755 root root:; s:^\(f [^ ]* [^ ]*/shl \).*:\12755 root adm:; s:^\(f [^ ]* [^ ]*/su \).*:\14755 root root:; s:^f\( [^ ]* etc/\):v \1:; s:^f\( [^ ]* var/\):v \1:; s:^\(s [^ ]* [^ ]*=\)\([^/]\):\1./\2:"
rm -rf $(PKGTEMP)/$@
pkgmk -a `uname -m` -d $(PKGTEMP) -r $(PKGROOT) -f $(PKGPROTO) $@
pkgtrans -o -s $(PKGTEMP) `pwd`/$@ $@