PERFORCE change 104568 for review

John Birrell jb at FreeBSD.org
Sat Aug 19 23:10:05 UTC 2006


http://perforce.freebsd.org/chv.cgi?CH=104568

Change 104568 by jb at jb_zoo on 2006/08/19 23:09:05

	A quirk of the amd64 build is the 32-bit libraries which build into
	a temporary obj directory which isn't created by mtree, so the
	subdirectories aren't created.
	
	When installing the DTrace library scripts, only do so if the target
	directory has been created, as is the case for the real install.
	For the lib32 build case, the DTrace library scripts aren't required.

Affected files ...

.. //depot/projects/dtrace/src/cddl/lib/libdtrace/Makefile#13 edit

Differences ...

==== //depot/projects/dtrace/src/cddl/lib/libdtrace/Makefile#13 (text+ko) ====

@@ -87,8 +87,10 @@
 beforedepend:	dt_errtags.c dt_names.c
 
 beforeinstall:
+.if exists(${DESTDIR}/usr/lib/dtrace)
 .for file in ${DSRCS}
 	${INSTALL} -o ${BINOWN} -g ${BINGRP} -m ${NOBINMODE} ${.CURDIR}/${file} ${DESTDIR}/usr/lib/dtrace
 .endfor
+.endif
 
 .include <bsd.lib.mk>


More information about the p4-projects mailing list