1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-31 21:57:12 +00:00
freebsd-ports/x11/XFree86-4/files/patch-h
Jean-Marc Zucconi aa82d74ce0 Fix installation when /usr/X11R6 is a symlink.
PR:		ports/17946
Submitted by:	Kazu TAKAMUNE <takamune@avrl.mei.co.jp>
2000-04-14 18:55:43 +00:00

22 lines
887 B
Plaintext

--- config/cf/Imake.rules.orig Wed Mar 8 00:54:17 2000
+++ config/cf/Imake.rules Wed Apr 12 18:00:00 2000
@@ -1437,7 +1437,7 @@
MakeDir(Concat($(DESTDIR),npath/mdir)) @@\
@MakeFlagsToShellFlags(i,set +e); \ @@\
if [ -d Concat($(DESTDIR),opath/cdir) ]; then \ @@\
- RELPATH=`echo opath/cdir | \ @@\
+ RELPATH=`cd opath/cdir; pwd | \ @@\
sed -e 's:^.::' -e 's:[^/.][^/]*:..:'g`; \ @@\
cd Concat($(DESTDIR),opath/cdir); \ @@\
if [ -d rdir -a ! -h rdir ]; then \ @@\
@@ -1484,7 +1484,7 @@
MakeDir(Concat($(DESTDIR),npath)) @@\
@MakeFlagsToShellFlags(i,set +e); \ @@\
if [ -d Concat($(DESTDIR),opath) ]; then \ @@\
- RELPATH=`echo opath | \ @@\
+ RELPATH=`cd opath; pwd | \ @@\
sed -e 's:^.::' -e 's:[^/.][^/]*:..:'g`; \ @@\
cd Concat($(DESTDIR),opath); \ @@\
if [ -f lfile -a ! -h lfile ]; then \ @@\