Subject: Solaris: files in pkgtools/x11-links are copied instead of linked
To: None <tech-pkg@netbsd.org>
From: Klaus Heinz <k.heinz.jan.drei@onlinehome.de>
List: tech-pkg
Date: 01/15/2003 01:54:49
--Kj7319i9nmIyA2yE
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Hi,
on Solaris, the command used to install the links (cp -R) in
pkgtools/x11-links does not copy the links but the actual X11 headers.
The Solaris man page for cp(1) does not say anything about the
possibility to copy symbolic links.
The attached patch for the Makefile (sorry, only context diff) works
on Solaris and _should_ do the same on NetBSD.
ciao
Klaus
--Kj7319i9nmIyA2yE
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="x11.patch"
42,43c42,43
< cd ${BUILDLINK_DIR} && \
< ${CP} -R include lib ${PREFIX}/${BUILDLINK_X11_SUBDIR}
---
> cd ${BUILDLINK_DIR} && { ${ECHO} include ; ${ECHO} lib ; } | \
> ${PAX} -r -w ${PREFIX}/${BUILDLINK_X11_SUBDIR}
--Kj7319i9nmIyA2yE--